mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-31 16:49:11 +00:00
Remove nodetype and hwtype from bmcdiscover -z output
This commit is contained in:
@@ -69,8 +69,6 @@ The BMC IP address is obtained by the open range dhcp server and the plan in thi
|
||||
mgt=ipmi
|
||||
mtm=8247-22L
|
||||
serial=10112CA
|
||||
nodetype=mp
|
||||
hwtype=bmc
|
||||
|
||||
|
||||
#. Edit the ``predefined.stanzas`` file and change the discovered nodes to the intended ``hostname`` and ``IP address``.
|
||||
@@ -87,7 +85,7 @@ The BMC IP address is obtained by the open range dhcp server and the plan in thi
|
||||
|
||||
ip=10.1.2.1
|
||||
|
||||
#. Remove ``nodetype`` and ``hwtype`` from ``predefined.stanza`` file based on the MTMS mapping.
|
||||
#. Remove ``nodetype`` and ``hwtype`` if defined in the ``predefined.stanza``.
|
||||
|
||||
#. Repeat for additional nodes in the ``predefined.stanza`` file based on the MTMS mapping.
|
||||
|
||||
|
@@ -645,10 +645,6 @@ sub format_stanza {
|
||||
if ($bmcpass) {
|
||||
$result .= "\tbmcpassword=$bmcpass\n";
|
||||
}
|
||||
if ($nodetype && $hwtype) {
|
||||
$result .= "\tnodetype=$nodetype\n";
|
||||
$result .= "\thwtype=$hwtype\n";
|
||||
}
|
||||
my $rsp = {};
|
||||
push @{ $rsp->{data} }, "$result";
|
||||
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
|
||||
|
Reference in New Issue
Block a user