Commit 3403127d authored by Ophélie Gagnard's avatar Ophélie Gagnard

dracut.module: Comment new kernel cmdlines and progression.

parent 7123ac6d
# See man pages dracut.conf(5) and dracut(8) for details.
add_dracutmodules="metadata-collect"
compress=xz
hostonly=no
hostonly_cmdline=no
#hostonly=no
#hostonly_cmdline=no
kernel_image=%KERNEL_IMAGE%
# model kernel command, see more in /boot/grub.cfg
#linux /boot/vmlinuz-4.19.0-17-amd64 root=UUID=c962bb70-ee0c-4561-9edd-56c269ef7e51 ro single mitigations=off console=ttyS1,57600
......@@ -16,11 +16,18 @@ kernel_cmdline="root=UUID=%ROOT_PARTITION_ID% ip=%DEFAULT_IP%::%DEFAULT_ROUTER%:
kernel_cmdline="root=UUID=%ROOT_PARTITION_ID% ip=dhcp rd.neednet=1 ro console=ttyS1,57600"
kernel_cmdline="root=UUID=%ROOT_PARTITION_ID% ip=10.42.42.42::10.42.42.42:255.255.255.255:aaaaa:%DEFAULT_INTERFACE%:off:1.1.1.1:8.8.8.8:130.79.14.172 rd.neednet=1 ro console=ttyS1,57600 rd.break=mount"
kernel_cmdline="root=LABEL=Root ip=10.42.42.42::10.42.42.42:255.255.255.255:aaaaa:enp193s0f1np1:off:1.1.1.1:8.8.8.8:130.79.14.172 rd.neednet=1 ro console=ttyS1,57600"
# next line
# - works without the "kernel_image" option
# - fails to boot the image with an efi stub enabled
# - fails at systemd initqueue with the kernel_image option and a non efi stub enabled kernel
kernel_cmdline="root=/dev/nvme0n1p2 ip=10.42.42.42::10.42.42.42:255.255.255.255:aaaaa:eno1:off:1.1.1.1:8.8.8.8:130.79.14.172 rd.neednet=1 ro console=ttyS1,57600"
kernel_cmdline="root=LABEL=Root ip=10.42.42.42::10.42.42.42:255.255.255.255:aaaaa:eno1:off:1.1.1.1:8.8.8.8:130.79.14.172 rd.neednet=1 ro console=ttyS1,57600"
#kernel_cmdline="root=LABEL=Root ip=dhcp rd.neednet=1 ro console=ttyS1,57600"
#kernel_cmdline="ip=dhcp rd.neednet=1"
show_modules=yes
reproducible=yes
#loginstall=./loginstall/
uefi=yes
uefi_stub=/usr/lib/systemd/boot/efi/linuxx64.efi.stub
uefi_secureboot_cert=%PUBLIC_CERT_DIR%/%CERT_NAME%
uefi_secureboot_key=%PRIVATE_KEYS_DIR%/%SIGNING_KEY_NAME%
#uefi_secureboot_cert=%PUBLIC_CERT_DIR%/%CERT_NAME%
#uefi_secureboot_key=%PRIVATE_KEYS_DIR%/%SIGNING_KEY_NAME%
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment