Created
November 30, 2014 10:49
-
-
Save Temikus/a0b459b41568f37ecefa to your computer and use it in GitHub Desktop.
Kickstart post redirection to see progress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%post | |
# Change to a vt to see progress | |
exec < /dev/tty3 > /dev/tty3 | |
chvt 3 | |
# redirect output to ks-post.log including stdout and stderr | |
( | |
####################################################### | |
# Your postscripts go here | |
####################################################### | |
echo 'KS-post completed.' | |
) 2>&1 | /usr/bin/tee /root/ks-post.log | |
# switch back to gui | |
chvt 7 | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment