mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-22 20:31:09 +00:00
modify chain table while provision node with BMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -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"};
|
||||
|
Reference in New Issue
Block a user