Skip to content

Commit

Permalink
Include original kickstart in logs (#1227939)
Browse files Browse the repository at this point in the history
Having the original un-modified kickstart can sometimes be useful,
include it in /var/log/anaconda/ks.cfg

Resolves: rhbz#1227939
  • Loading branch information
bcl committed Nov 10, 2015
1 parent 4a5441a commit 2dc4e3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/post-scripts/99-copy-logs.ks
Expand Up @@ -7,6 +7,7 @@ for log in anaconda.log syslog X.log program.log packaging.log storage.log ifcfg
done
cp /tmp/ks-script*.log $ANA_INSTALL_PATH/var/log/anaconda/
journalctl -b > $ANA_INSTALL_PATH/var/log/anaconda/journal.log
[ -e /run/install/ks.cfg ] && cp /run/install/ks.cfg $ANA_INSTALL_PATH/var/log/anaconda/
chmod 0600 $ANA_INSTALL_PATH/var/log/anaconda/*
%end

0 comments on commit 2dc4e3d

Please sign in to comment.