소스 검색

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 년 전
부모
커밋
7feed2f680
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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