more cleanup

This commit is contained in:
2024-09-24 16:57:48 +02:00
parent 682947346e
commit cbe85cf33c
+8 -5
View File
@@ -28,7 +28,10 @@ bob node add $FQDN $ENV netboot
To be able to PXE boot we need to configure at least one MAC address for the new node:
```bash
bob node add-mac $FQDN 00:50:56:aa:fe:9b
FQDN=test.psi.ch
MAC_ADDRESS=00:00:00:00:00:00 # get this from the hardware or vcenter console
bob node add-mac $FQDN $MAC_ADDRESS
```
Finally we need to configure the installer to use, and the Puppet-related parameters:
@@ -56,12 +59,12 @@ bob node set-attr $FQDN puppet_env=prod
Minimal example:
```bash
bob node add lx-test-02.psi.ch lx netboot
bob node add-mac lx-test-02.psi.ch 00:50:56:9d:19:76
bob node set-attr lx-test-02.psi.ch ipxe_installer=rhel8install puppet_role=role::server
bob node add test.psi.ch lx netboot
bob node add-mac test.psi.ch 00:00:00:00:00:00
bob node set-attr test.psi.ch ipxe_installer=rhel8install puppet_role=role::server
# show the configuration
bob node list -v lx-test-02.psi.ch
bob node list -v test.psi.ch
# start network boot on the machine
```