From 3cf797de352e1354af43fb9f7c6c08eaa3c9681b Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Thu, 2 May 2024 17:26:53 +0200 Subject: [PATCH] document how to bring kernel commandline arguments to the installer --- admin-guide/deployment/sample.md | 25 ++++++++++++++++++++----- rhel8/index.md | 2 +- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/admin-guide/deployment/sample.md b/admin-guide/deployment/sample.md index 4e3c716c..f98b77c6 100644 --- a/admin-guide/deployment/sample.md +++ b/admin-guide/deployment/sample.md @@ -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). + diff --git a/rhel8/index.md b/rhel8/index.md index 19e40ea8..886d2ccf 100644 --- a/rhel8/index.md +++ b/rhel8/index.md @@ -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))