From: "Brian C. Lane" <bcl(a)redhat.com>
Having the original un-modified kickstart can sometimes be useful.
Resolves: rhbz#1227939
---
data/post-scripts/99-copy-logs.ks | 2 ++
1 file changed, 2 insertions(+)
diff --git a/data/post-scripts/99-copy-logs.ks b/data/post-scripts/99-copy-logs.ks
index 638c42c..5640cce 100644
--- a/data/post-scripts/99-copy-logs.ks
+++ b/data/post-scripts/99-copy-logs.ks
@@ -9,4 +9,6 @@ cp /tmp/ks-script*.log $ANA_INSTALL_PATH/var/log/anaconda/
journalctl -b > $ANA_INSTALL_PATH/var/log/anaconda/journal.log
chmod 0600 $ANA_INSTALL_PATH/var/log/anaconda/*
+[ -e /run/install/ks.cfg ] && cp /run/install/ks.cfg
$ANA_INSTALL_PATH/root/original-ks.cfg
+
%end
--
To view this commit on github, visit
https://github.com/rhinstaller/anaconda/commit/aebb4985101df91044feffaf29...