diff --git a/xCAT-server/lib/xcat/plugins/profilednodes.pm b/xCAT-server/lib/xcat/plugins/profilednodes.pm index 51cfeb2c6..8e458b5c9 100644 --- a/xCAT-server/lib/xcat/plugins/profilednodes.pm +++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm @@ -1324,7 +1324,7 @@ sub gen_new_hostinfo_string{ $hostinfo_dict{$item}{"chain"} = 'osimage='.$provmethod; if (exists $netprofileattr{"bmc"}){ # Update BMC records. $hostinfo_dict{$item}{"mgt"} = "ipmi"; - $hostinfo_dict{$item}{"chain"} = 'runcmd=bmcsetup,osimage='.$provmethod; + $hostinfo_dict{$item}{"chain"} = "runcmd=bmcsetup,osimage=$provmethod:reboot4deploy"; if (exists $ipshash{"bmc"}){ $hostinfo_dict{$item}{"bmc"} = $ipshash{"bmc"};