Skip to content

Commit

Permalink
aii-ks: fix logging of pre and post script actions for EL7
Browse files Browse the repository at this point in the history
- Fixes #120
  • Loading branch information
jouvin committed Nov 2, 2016
1 parent ed311a2 commit b355371
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aii-ks/src/main/perl/ks.pm
Original file line number Diff line number Diff line change
Expand Up @@ -692,8 +692,10 @@ sub log_action {
}

if ($consolelogging) {
push(@logactions, "console='/dev/console'");
push(@logactions, "[ -e /dev/pts/0 ] && console='/dev/pts/0'");
push(@logactions, '# Make sure messages show up on the serial console',
"tail -f $logfile > /dev/console &");
"tail -f $logfile > \$console &");
}

push(@logactions,"drainsleep=$drainsleep"); # add trailing newline
Expand Down

0 comments on commit b355371

Please sign in to comment.