From ef94ee56422f0c029fbf21d741554ba944ca20ef Mon Sep 17 00:00:00 2001 From: huweihua Date: Thu, 28 Aug 2014 02:21:56 -0400 Subject: [PATCH] sysclone support p: set target node boot from disk after clone install --- xCAT-server/lib/perl/xCAT/Postage.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index de2425e89..2fb9c9245 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -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"; }