From da5ed2be0d964911265dc5a72dba4ffd0c72fd61 Mon Sep 17 00:00:00 2001 From: huweihua Date: Wed, 25 Jun 2014 04:46:44 -0400 Subject: [PATCH] add some dir/file to exclude configuration file --- xCAT/postscripts/syscloneimgupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/syscloneimgupdate b/xCAT/postscripts/syscloneimgupdate index 6a7b6ed41..8398f960d 100755 --- a/xCAT/postscripts/syscloneimgupdate +++ b/xCAT/postscripts/syscloneimgupdate @@ -9,7 +9,7 @@ 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 +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 do if [ ! -e $filename ];then continue