File tree Expand file tree Collapse file tree
root/usr/local/lib/systemd/system Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 </preferences >
2020 <preferences profiles =" lima" >
2121 <type image =" oem" format =" qcow2" filesystem =" ext4" fsmountoptions =" x-systemd.growfs"
22- firmware =" efi" kernelcmdline =" console=hvc0 console= tty0 console=ttyS0,115200" >
22+ firmware =" efi" kernelcmdline =" console=tty0 console=ttyS0,115200 console=hvc0 " >
2323 <oemconfig >
2424 <!--
2525 Disable Kiwi's built-in partition resizing; that is very generic and
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ if [[ ${kiwi_profiles:-} =~ lima ]]; then
102102
103103 systemctl enable lima-init.service
104104 systemctl enable rd-init.service
105+ systemctl enable journal-to-console.service
105106 # Disable network namespace related functionality (WSL only)
106107 rm -f /usr/local/lib/systemd/system/* /network-namespace.conf
107108 # Remove the docker config that is only used on Windows
Original file line number Diff line number Diff line change 1+ # Override docker.socket to install to rancher-desktop.target
2+ [Install]
3+ WantedBy=
4+ WantedBy=rancher-desktop.target
5+
6+ [Unit]
7+ StopPropagatedFrom=rancher-desktop.target
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =Mirror the journal to the console for boot diagnostics
3+ DefaultDependencies =no
4+ Requires =systemd-journald.service
5+ After =systemd-journald.service
6+ Before =sysinit.target shutdown.target
7+ Conflicts =shutdown.target
8+
9+ [Service]
10+ Type =simple
11+ ExecStart =/usr/bin/journalctl --boot --follow --no-hostname --no-pager --output =short
12+ StandardOutput =tty
13+ StandardError =journal
14+ TTYPath =/dev/console
15+ Restart =always
16+ RestartSec =1
17+
18+ [Install]
19+ WantedBy =sysinit.target
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ EnvironmentFile=/mnt/lima-cidata/lima.env
1515ExecStart =/mnt/lima-cidata/boot.sh
1616RemainAfterExit =yes
1717TimeoutSec =0
18- StandardOutput =journal+console
1918
2019[Install]
2120WantedBy =multi-user.target
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ EnvironmentFile=/mnt/lima-cidata/lima.env
1515ExecStart =/usr/local/bin/rd-init
1616RemainAfterExit =yes
1717TimeoutSec =0
18- StandardOutput =journal+console
1918
2019[Install]
2120WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments