remove redundancies in install documentation

This commit is contained in:
2024-09-24 16:54:01 +02:00
parent f007817031
commit 682947346e
5 changed files with 14 additions and 36 deletions
+9 -9
View File
@@ -3,7 +3,9 @@
Linux systems are installed using PXE and Kickstart. The Kickstart
configuration is auto-generated base on the configuration stored in sysdb/bob.
```{info}
When PXE boot is not an option, e.g. in restricted networks, it is possible to start iPXE from a USB stick or other media.
```
The general process for a installation is:
@@ -12,11 +14,10 @@ The general process for a installation is:
3. Reboot the system and trigger a PXE boot (usually by pressing F12 during
POST)
The default way to interact with sysdb is to use [bob](https://git.psi.ch/linux-infra/bob). `bob` is already set up on `lxsup.psi.ch` for general use.
The default way to interact with sysdb is to use [bob](https://git.psi.ch/linux-infra/bob). `bob` is already set up on `lxsup.psi.ch` for general use. Remember that you need a valid Kerberos ticket before modifying a sysdb entry via `bob`.
Altenatively you many have on your workstation a local copy of `bob`. This can be done by installing the RPM from the pli-misc repository - https://repos.psi.ch/rhel8/latest/pli-misc/ or by installing the Python package manually.
Altenatively you many have on your workstation a local copy of `bob`. This can be done by installing the RPM from the pli-misc repository - https://repos.psi.ch/rhel8/latest/pli-misc/ or by installing the Python package manually. More details regaring `bob` can be found [here](https://git.psi.ch/linux-infra/bob).
You might need to set a `PSI_BOB_USER` environment variable (`export PSI_BOB_USER=<you-name-it>`) or use the option `--user` if your local user is different from the one on sysdb.
## Sysdb Configuration
@@ -36,21 +37,20 @@ bob node set-attr $FQDN ipxe_installer=rhel8install
bob node set-attr $FQDN puppet_role=role::server
```
and optional:
and **optional**:
```bash
# static IP address (options: static, dhcp)
bob node set-attr $FQDN network=static
# if you want to use hiera groups and sub-groups
bob node set-attr $FQDN puppet_group=cluster
bob node set-attr $FQDN puppet_subgroup=compute
# use a differnt puppet environment
bob node set-attr $FQDN puppet_env=prod
```
Finally ensure that the node is set to `netboot`:
```bash
bob node netboot $FQDN
```
### Example
Minimal example: