Skip to content

Commit b7f6271

Browse files
authored
fix: host name should not be changed after install (#237)
Signed-off-by: Logan Blyth <[email protected]>
1 parent 98a8398 commit b7f6271

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/install-upgrade/config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ spec:
9292
apiVersion: fabricator.githedgehog.com/v1beta1
9393
kind: ControlNode
9494
metadata:
95-
name: control-1
95+
name: control-1 # host name of control node, cannot be changed after install
9696
namespace: fab
9797
spec:
9898
bootstrap:
@@ -108,7 +108,7 @@ spec:
108108
apiVersion: fabricator.githedgehog.com/v1beta1
109109
kind: FabNode
110110
metadata:
111-
name: gateway-1
111+
name: gateway-1 # host name of gateway node, cannot be changed after install
112112
namespace: fab
113113
spec:
114114
roles:

docs/install-upgrade/install.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ command to see the available options. For example `hhfab init -h`.
5151
### HHFAB commands to make a bootable image
5252

5353
1. `hhfab init --wiring wiring-lab.yaml`
54-
1. The `init` command generates a `fab.yaml` file, edit the `fab.yaml` file for your needs
55-
1. ensure the correct boot disk (e.g. `/dev/sda`) and control node NIC names are supplied
54+
1. The `init` command generates a `fab.yaml` file, edit the `fab.yaml` file for your needs, specifically:
55+
1. Ensure the correct boot disk (e.g. `/dev/sda`) and control node NIC names are supplied
56+
1. Ensure that the `name:` field under `kind: ControlNode` is the desired host name,
57+
as this **cannot be changed** after installation
5658
1. `hhfab validate`
5759
1. `hhfab build --mode iso`
5860
1. An ISO is best suited to use with IPMI based virtual media. If desired an IMG file suitable for writing to a USB drive, can be created by passing the `--mode usb` option. ISO is the default.

0 commit comments

Comments
 (0)