From ed3fcefefffbdc753b187370c5cecfe9220a1999 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Tue, 14 Jan 2020 15:29:11 -0500 Subject: [PATCH] Depricate nodechmac command --- .../admin-guides/references/man1/nodechmac.1.rst | 10 ++++++++++ xCAT-client/pods/man1/nodechmac.1.pod | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/docs/source/guides/admin-guides/references/man1/nodechmac.1.rst b/docs/source/guides/admin-guides/references/man1/nodechmac.1.rst index 0d35e40dc..cd8d9efd0 100644 --- a/docs/source/guides/admin-guides/references/man1/nodechmac.1.rst +++ b/docs/source/guides/admin-guides/references/man1/nodechmac.1.rst @@ -29,6 +29,16 @@ DESCRIPTION *********** +\ **Note:**\ The command \ **nodechmac**\ has been deprecated. To change the MAC address of the node: + + +.. code-block:: perl + + makedhcp -d + chdef -t node -o mac= + makedhcp + + The \ **nodechmac**\ command changes the MAC address for provisioned node's network interface. You can use this command to keep an existing node configuration. For example, if an existing node has hardware problems, the replacement node can use the old configurations. By using the nodechmac command, the node name and network settings of the old node can be used by the new node. diff --git a/xCAT-client/pods/man1/nodechmac.1.pod b/xCAT-client/pods/man1/nodechmac.1.pod index c0a674cba..daf830b56 100644 --- a/xCAT-client/pods/man1/nodechmac.1.pod +++ b/xCAT-client/pods/man1/nodechmac.1.pod @@ -10,6 +10,12 @@ B I BI =head1 DESCRIPTION +B The command B has been deprecated. To change the MAC address of the node: + + makedhcp -d + chdef -t node -o mac= + makedhcp + The B command changes the MAC address for provisioned node's network interface. You can use this command to keep an existing node configuration. For example, if an existing node has hardware problems, the replacement node can use the old configurations. By using the nodechmac command, the node name and network settings of the old node can be used by the new node.