diff --git a/snippets/packagekit-cached-metadata.ks b/snippets/packagekit-cached-metadata.ks index 2e20f47..cade866 100644 --- a/snippets/packagekit-cached-metadata.ks +++ b/snippets/packagekit-cached-metadata.ks @@ -3,7 +3,7 @@ %post --nochroot # Copy over files needed for networking inside the chroot for f in /etc/resolv.conf /etc/hosts ; do - test -f $f && cp -a $f ${INSTALL_ROOT}${f}.kickstart + test -f $f && cp $f /mnt/sysimage/$f.kickstart done %end