diff options
author | Jesse Keating <jkeating@redhat.com> | 2012-10-03 15:35:48 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2012-10-03 15:35:48 -0700 |
commit | 611a1706df5f6989cab16896a86fac44bc6c8af6 (patch) | |
tree | 8c8034b4e256085f64ee38203a22359e0b57751c /data | |
parent | d808e5cad1beb273ae81dda44af8d75226274475 (diff) | |
download | anaconda-611a1706df5f6989cab16896a86fac44bc6c8af6.tar.gz anaconda-611a1706df5f6989cab16896a86fac44bc6c8af6.tar.xz anaconda-611a1706df5f6989cab16896a86fac44bc6c8af6.zip |
Copy ks script logs into the install root as well
Diffstat (limited to 'data')
-rw-r--r-- | data/post-scripts/95-copy-logs.ks | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/post-scripts/95-copy-logs.ks b/data/post-scripts/95-copy-logs.ks index 7343d8ac4..1a6075651 100644 --- a/data/post-scripts/95-copy-logs.ks +++ b/data/post-scripts/95-copy-logs.ks @@ -1,3 +1,4 @@ +# Note, this script log will not be copied to the installed system. %post --nochroot mkdir -p /mnt/sysimage/var/log/anaconda @@ -9,6 +10,7 @@ mkdir -p /mnt/sysimage/var/log/anaconda [ -e /tmp/storage.log ] && cp /tmp/storage.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.storage.log [ -e /tmp/ifcfg.log ] && cp /tmp/ifcfg.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.ifcfg.log [ -e /tmp/yum.log ] && cp /tmp/yum.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.yum.log +cp /tmp/ks-script*.log $ANA_INSTALL_PATH/var/log/anaconda/ chmod 0600 /mnt/sysimage/var/log/anaconda/* %end |