From: Erich F. <ef...@sy...> - 2005-10-27 15:13:46
|
Author: efocht Date: 2005-10-27 13:25:29 -0500 (Thu, 27 Oct 2005) New Revision: 3249 Modified: trunk/etc/autoinstallscript.template Log: Exclude /proc/ contents from the rsync command. This leads to trouble at least on ia64-rhel4 because /proc remains mounted on the image sometimes, when updating or installing rpms into it. Modified: trunk/etc/autoinstallscript.template =================================================================== --- trunk/etc/autoinstallscript.template 2005-10-19 01:34:56 UTC (rev 3248) +++ trunk/etc/autoinstallscript.template 2005-10-27 18:25:29 UTC (rev 3249) @@ -245,13 +245,14 @@ mkdir -p ${DIR} logmsg "rsync -aHS${VERBOSE_OPT} --exclude=lost+found/ --numeric-ids ${IMAGESERVER}::${IMAGENAME}/ ${DIR}/" - rsync -aHS${VERBOSE_OPT} --exclude=lost+found/ --numeric-ids ${IMAGESERVER}::${IMAGENAME}/ ${DIR}/ || shellout + rsync -aHS${VERBOSE_OPT} --exclude=lost+found/ --exclude=/proc/* --numeric-ids \ + ${IMAGESERVER}::${IMAGENAME}/ ${DIR}/ || shellout # Move from staging in tmpfs to disk rsync -aHS${VERBOSE_OPT} --exclude=lost+found/ --numeric-ids ${DIR}/ /a/ else - logmsg "rsync -aHS${VERBOSE_OPT} --exclude=lost+found/ --numeric-ids ${IMAGESERVER}::${IMAGENAME}/ /a/" - rsync -aHS${VERBOSE_OPT} --exclude=lost+found/ --numeric-ids ${IMAGESERVER}::${IMAGENAME}/ /a/ || shellout + logmsg "rsync -aHS${VERBOSE_OPT} --exclude=lost+found/ --exclude=/proc/* --numeric-ids ${IMAGESERVER}::${IMAGENAME}/ /a/" + rsync -aHS${VERBOSE_OPT} --exclude=lost+found/ --exclude=/proc/* --numeric-ids ${IMAGESERVER}::${IMAGENAME}/ /a/ || shellout fi fi |