Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
initramfs-with-mca
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
initramfs-with-mca
Commits
060bab42
Commit
060bab42
authored
Mar 16, 2023
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dracut.module: Clean the code.
parent
dd52b1f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
dracut.module/dracut.conf.in
dracut.module/dracut.conf.in
+1
-15
No files found.
dracut.module/dracut.conf.in
View file @
060bab42
...
...
@@ -5,32 +5,18 @@ 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
#kernel_cmdline="root=LABEL=ROOT ip=dhcp rd.neednet=1 ro single mitigations=off console=ttyS1,57600"
#kernel_cmdline="root=UUID=%ROOT_PARTITION_ID% ip=dhcp rd.neednet=1 ro console=ttyS1,57600"
#kernel_cmdline="root=UUID=%ROOT_PARTITION_ID% ip=195.90.118.203::195.90.118.193:255.255.255.224:douai-capri-009:enp193s0f1np1:off:1.1.1.1:8.8.8.8:130.79.14.172 rd.neednet=1 ro console=ttyS1,57600"
kernel_cmdline="root=UUID=%ROOT_PARTITION_ID% ip=%DEFAULT_IP%::%DEFAULT_ROUTER%:%FORMATTED_NETMASK%:%TARGET_HOSTNAME%:%DEFAULT_INTERFACE%:off:1.1.1.1:8.8.8.8:130.79.14.172 rd.neednet=1 ro console=ttyS1,57600"
#kernel_cmdline="root=UUID=%ROOT_PARTITION_ID% ip=::::%TARGET_HOSTNAME%:%DEFAULT_INTERFACE%:dhcp:1.1.1.1:8.8.8.8:130.79.14.172 rd.neednet=1 ro console=ttyS1,57600"
#kernel_cmdline="root=UUID=%ROOT_PARTITION_ID% ip=off rd.neednet=0 ro console=ttyS1,57600 rd.break=mount"
#kernel_cmdline="root=UUID=%ROOT_PARTITION_ID% ip=::::%TARGET_HOSTNAME%:%DEFAULT_INTERFACE%:dhcp:1.1.1.1:8.8.8.8:130.79.14.172 rd.neednet=1"
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"
# options in "ip=" are dummy except for the last one (NTP)
# next line
# - works without the "kernel_image" option
# - fails to boot the image with an efi stub enabled [kernel or dracut? kernel i believe]
# - fails at systemd initqueue with the kernel_image option and a non efi stub enabled kernel
# - passes systemd initqueue when properly including the module directory
# (i.e. with "-amd64" and the end of the name and all the "modules.xxx" files)
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"
drivers_dir=%DRIVERS_DIR%
add_drivers+=" xfs "
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%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment