diff --git a/docs/source/guides/admin-guides/manage_clusters/ppc64le/discovery/mtms/discovery_using_defined.rst b/docs/source/guides/admin-guides/manage_clusters/ppc64le/discovery/mtms/discovery_using_defined.rst index a310c908e..d9fe7c2a0 100644 --- a/docs/source/guides/admin-guides/manage_clusters/ppc64le/discovery/mtms/discovery_using_defined.rst +++ b/docs/source/guides/admin-guides/manage_clusters/ppc64le/discovery/mtms/discovery_using_defined.rst @@ -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. diff --git a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm index ecf5449f4..54d7ce8b7 100644 --- a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm @@ -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);