1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-28 05:57:33 +03:00

mkosi: Drop kernel command line arguments that are set by mkosi

mkosi sets these by default now so let's drop them from our
configuration.
This commit is contained in:
Daan De Meyer 2023-07-14 14:51:42 +02:00
parent 5b79e9d7a9
commit 2defccf3e1

View File

@ -22,21 +22,10 @@ KernelCommandLineExtra=systemd.crash_shell
systemd.log_ratelimit_kmsg=0
systemd.journald.forward_to_console
systemd.journald.max_level_console=warning
# Tell the kernel to only log warning and up to the console.
loglevel=4
# Disable the kernel's ratelimiting on userspace logging to kmsg.
printk.devkmsg=on
# Tell networkd to manage the ethernet interface.
ip=enp0s1:any
# Make sure sulogin works even with a locked root account.
SYSTEMD_SULOGIN_FORCE=1
# Make sure /sysroot is mounted rw in the initrd.
rw
# Make sure we pull in network related units even if nothing else depends on the
# network to be online.
systemd.wants=network-online.target
# Make sure we don't load vmw_vmci which messes with virtio vsock.
module_blacklist=vmw_vmci
# Lower the default device timeout so we get a shell earlier if the root device does
# not appear for some reason.
systemd.default_device_timeout_sec=10