From 58dc9496cf9c073e235339da63bd119dd33c8850 Mon Sep 17 00:00:00 2001 From: huweihua Date: Sun, 8 Jun 2014 22:42:32 -0400 Subject: [PATCH] change indent and comment --- xCAT-server/lib/xcat/plugins/destiny.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/destiny.pm b/xCAT-server/lib/xcat/plugins/destiny.pm index 464dde9f4..53ccd08b0 100755 --- a/xCAT-server/lib/xcat/plugins/destiny.pm +++ b/xCAT-server/lib/xcat/plugins/destiny.pm @@ -503,9 +503,8 @@ sub setdestiny { } } } - #if ($provmethod ne 'install') { - #fix bug: in sysclone, provmethod attribute gets cleared - if ($provmethod ne 'install' && $provmethod ne 'sysclone') { + #don't clean up provmethod if osimage.provmethod is install or sysclone + if ($provmethod ne 'install' && $provmethod ne 'sysclone') { push(@nodestoblank, $_); } }