From 9b5f0f23045f63f5e3f021a948838831c4229e83 Mon Sep 17 00:00:00 2001 From: Troy Caro Date: Sun, 19 Nov 2023 19:08:08 -0500 Subject: [PATCH] Have the add node syntax use long flags and more consistent with all quickstarts Signed-off-by: Troy Caro --- userdocs/quickstart/el7.rst | 4 ++-- userdocs/quickstart/el8.rst | 2 +- userdocs/quickstart/suse15.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/userdocs/quickstart/el7.rst b/userdocs/quickstart/el7.rst index c9c43692..72894b7c 100644 --- a/userdocs/quickstart/el7.rst +++ b/userdocs/quickstart/el7.rst @@ -139,7 +139,7 @@ configuration, we can set them in the default profile as follows: .. code-block:: bash - sudo wwctl profile set -y default --netname default --netmask 255.255.255.0 --gateway 192.168.200.1 + sudo wwctl profile set -y default --netdev eth0 --netmask 255.255.255.0 --gateway 192.168.200.1 sudo wwctl profile list Add a node @@ -159,7 +159,7 @@ configurations. .. code-block:: bash - sudo wwctl node add n0000.cluster --netname default -I 192.168.200.100 --discoverable + sudo wwctl node add n0000.cluster --ipaddr 192.168.200.100 --discoverable true sudo wwctl node list -a n0000 Turn on your compute node and watch it boot! diff --git a/userdocs/quickstart/el8.rst b/userdocs/quickstart/el8.rst index 13a29d93..b99e9868 100644 --- a/userdocs/quickstart/el8.rst +++ b/userdocs/quickstart/el8.rst @@ -187,7 +187,7 @@ configurations. .. code-block:: bash - sudo wwctl node add n0000.cluster --ipaddr 192.168.200.100 --discoverable + sudo wwctl node add n0000.cluster --ipaddr 192.168.200.100 --discoverable true At this point you can view the basic configuration of this node by typing the following: diff --git a/userdocs/quickstart/suse15.rst b/userdocs/quickstart/suse15.rst index b50bad39..58a7e330 100644 --- a/userdocs/quickstart/suse15.rst +++ b/userdocs/quickstart/suse15.rst @@ -164,7 +164,7 @@ configurations. .. code-block:: bash - sudo wwctl node add n0000.cluster --netdev eth0 -I 192.168.200.100 --discoverable + sudo wwctl node add n0000.cluster --netdev eth0 --ipaddr 192.168.200.100 --discoverable true sudo wwctl node list -a n0000.cluster Warewulf Overlays