From ed03c24ae7495aae9008ffb88d37780830faac04 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT/postscripts/syscloneimgupdate --- xCAT/postscripts/syscloneimgupdate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/syscloneimgupdate b/xCAT/postscripts/syscloneimgupdate index 724463fbe..1ece13a66 100755 --- a/xCAT/postscripts/syscloneimgupdate +++ b/xCAT/postscripts/syscloneimgupdate @@ -32,7 +32,7 @@ for filename in \ /opt/xcat \ /root/.ssh \ /var/cache \ - /xcatpost + /xcatpost do if [ ! -e $filename ];then continue @@ -61,7 +61,7 @@ fi str_server_ip=`echo $str_server_ip | sed "s/'//g"` #call system imager command to update the image echo "si_updateclient --server $str_server_ip --yes" -export PERL5LIB=/usr/lib/perl5/site_perl/;LANG=C si_updateclient --server $str_server_ip --yes +export PERL5LIB=/usr/lib/perl5/site_perl/;LANG=C si_updateclient --server $str_server_ip --yes if [[ -f /sbin/dracut ]]; then # redhat6.x/centos6.x/rhels7.x