2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-03 03:50:08 +00:00

Remove trailing spaces in file xCAT/postscripts/syscloneimgupdate

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent 01daec8032
commit ed03c24ae7

View File

@ -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