document how to bring kernel commandline arguments to the installer

This commit is contained in:
2024-05-02 17:26:53 +02:00
parent d9a3b1da14
commit 3cf797de35
2 changed files with 21 additions and 6 deletions

View File

@@ -39,17 +39,17 @@ We setup its MAC address:
Next decide how the IP address is configured (`dhcp` or `static`):
bob node set-attr syslog-ra.psi.ch network=static
bob node set-attr logging-ra.psi.ch network=static
And which installer is used:
bob node set-attr syslog-ra.psi.ch ipxe_installer=rhel8install
bob node set-attr logging-ra.psi.ch ipxe_installer=rhel8install
And we finally setup the puppet role and puppet environment:
bob node set-attr syslog-ra.psi.ch puppet_role=role::log_server
bob node set-attr syslog-ra.psi.ch puppet_env=prod
bob node set-attr syslog-ra.psi.ch puppet_group=logging
bob node set-attr logging-ra.psi.ch puppet_role=role::log_server
bob node set-attr logging-ra.psi.ch puppet_env=prod
bob node set-attr logging-ra.psi.ch puppet_group=logging
## Example
@@ -63,3 +63,18 @@ Full example:
bob node list -v lx-test-02
Ensure that a potential previous puppet certificate for this server is deleted on the puppet server: https://puppet.psi.ch
## Special Settings
### Custom Kernel Commandline Arguments
For custom kernel commandline arguments for the installer (e.g. to provide drivers) the sysdb attribute
`kernel_cmdline` can be used:
```
bob node set-attr lx-test-02.psi.ch kernel_cmdline=inst.dd=https://linuxsoft.cern.ch/elrepo/dud/el8/x86_64/dd-megaraid_sas-07.725.01.00-1.el8_9.elrepo.iso
```
### Custom System Disk and Partitioning
Please check out the [Partitioning page](partitioning).

View File

@@ -61,7 +61,7 @@ I will now focus on [ElRepo](https://elrepo.org/) which provides drivers not sup
There are two option in providing this driver disk to the installer:
1. Download the according `.iso` file and extract it on an USB stick labelled with `OEMDRV` and have it connected during installation.
2. Extend the kernel command line with `inst.dd=$URL_OF_ISO_FILE`, e.g. with a custom Grub config on the [boot server](https://git.psi.ch/linux-infra/network-boot).
2. Extend the kernel command line with `inst.dd=$URL_OF_ISO_FILE`, e.g. with a custom Grub config on the [boot server](https://git.psi.ch/linux-infra/network-boot) or with the sysdb/bob attribute `kernel_cmdline`.
([Red Hat documentation of this procedure](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/performing_an_advanced_rhel_8_installation/index#updating-drivers-during-installation_installing-rhel-as-an-experienced-user))