Forráskód Böngészése

Handle qubes.skip_autostart option on kernel command line

This allows to prevent automatically starting VMs at boot, mostly for
troubleshooting.

Fixes QubesOS/qubes-issues#4312
Marek Marczykowski-Górecki 5 éve
szülő
commit
7feed2f680
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      linux/systemd/qubes-vm@.service

+ 1 - 0
linux/systemd/qubes-vm@.service

@@ -2,6 +2,7 @@
 Description=Start Qubes VM %i
 Before=systemd-user-sessions.service
 After=qubesd.service qubes-meminfo-writer-dom0.service
+ConditionKernelCommandLine=!qubes.skip_autostart
 
 [Service]
 Type=oneshot