use reboot in genesis instead of shutdown

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16469 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2013-05-30 06:06:27 +00:00
parent 7009498b84
commit e30fbd2b80

View File

@ -612,6 +612,10 @@ sub sysclone_getimg{
return 1;
}
# use reboot in genesis
my $masterscript = $sysclone_home . "/scripts" . "/$osimage.master";
my $rc = `sed -i "s/shutdown -r now/reboot -f/g" $masterscript`;
return 0;
}