]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Drop kernel command line arguments that are set by mkosi
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 14 Jul 2023 12:51:42 +0000 (14:51 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 14 Jul 2023 12:51:42 +0000 (14:51 +0200)
mkosi sets these by default now so let's drop them from our
configuration.

mkosi.conf.d/10-systemd.conf

index 8fe77e8fbe1b1a6cdd585bf831c72806b9d8e0bc..51b821b658bb64e2610275cff279a50dda1e8d36 100644 (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