add --no-bootloader option for si_updateclient command

This commit is contained in:
huweihua 2014-08-12 05:00:42 -04:00
parent 1d18788c73
commit 844fb5faa6

View File

@ -42,7 +42,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 --no-bootloader
if [[ -f /sbin/dracut ]]; then
#redhat or centos