diff --git a/xCAT/postscripts/syscloneimgupdate b/xCAT/postscripts/syscloneimgupdate index 645ba7925..add1e21be 100755 --- a/xCAT/postscripts/syscloneimgupdate +++ b/xCAT/postscripts/syscloneimgupdate @@ -13,7 +13,27 @@ fi #update the exclude configuration file #do not sync the following files -for filename in /etc/fstab /boot/grub /etc/grub.conf /boot/efi /etc/elilo.conf /xcatpost /etc/xcat /etc/hosts /etc/udev/rules.d /etc/modprobe.d/bond0.conf /etc/modprobe.d/bond1.conf /etc/ssh /etc/sysconfig/syslog /etc/syslog-ng/syslog-ng.conf /opt/xcat /root/.ssh /var/cache /var/lib +for filename in \ + /boot/efi \ + /boot/grub \ + /etc/fstab \ + /etc/grub.conf \ + /etc/lilo.conf \ + /etc/elilo.conf \ + /etc/xcat \ + /etc/yaboot.conf \ + /etc/hosts \ + /etc/udev/rules.d \ + /etc/modprobe.d/bond0.conf \ + /etc/modprobe.d/bond1.conf \ + /etc/ssh \ + /etc/sysconfig/syslog \ + /etc/syslog-ng/syslog-ng.conf \ + /opt/xcat \ + /root/.ssh \ + /var/cache \ + /var/lib \ + /xcatpost do if [ ! -e $filename ];then continue