sysclone support p: set target node boot from disk after clone install

This commit is contained in:
huweihua 2014-08-28 02:21:56 -04:00
parent 3beec6c8b1
commit ef94ee5642

View File

@ -1858,8 +1858,8 @@ sub getPostScripts
$result .= "setbootfromnet\n";
}
# add setbootfromdisk if the nodesetstate is install and arch is ppc64
if (($nodesetstate) && ($nodesetstate eq "install") && ($arch eq "ppc64"))
# add setbootfromdisk if the nodesetstate is install or sysclone and arch is ppc64
if (($nodesetstate) && (($nodesetstate eq "install") || ($nodesetstate eq "sysclone")) && ($arch eq "ppc64"))
{
$result .= "setbootfromdisk\n";
}