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
This commit is contained in:
Marek Marczykowski-Górecki 2018-09-16 05:22:30 +02:00
parent 5756e870bd
commit 7feed2f680
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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