From fe7d146414ad56559213fbf221c67903ef58fd9b Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 28 Mar 2012 00:43:59 +0200 Subject: [PATCH] vm/init: Use the same default services for TemplateVM as for AppVM (#503) Actually it already was done in traditional init.d script, so do the same in systemd version. --- vm-systemd/qubes-sysinit.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vm-systemd/qubes-sysinit.sh b/vm-systemd/qubes-sysinit.sh index dc93de5e..65c36063 100755 --- a/vm-systemd/qubes-sysinit.sh +++ b/vm-systemd/qubes-sysinit.sh @@ -4,6 +4,7 @@ DEFAULT_ENABLED_NETVM="network-manager qubes-network" DEFAULT_ENABLED_PROXYVM="meminfo-writer qubes-network qubes-firewall qubes-netwatcher" DEFAULT_ENABLED_APPVM="meminfo-writer cups" +DEFAULT_ENABLED_TEMPLATEVM=$DEFAULT_ENABLED_APPVM DEFAULT_ENABLED="meminfo-writer" XS_READ=/usr/bin/xenstore-read @@ -30,6 +31,7 @@ TYPE=`$XS_READ qubes_vm_type 2> /dev/null` [ "$TYPE" == "AppVM" ] && DEFAULT_ENABLED=$DEFAULT_ENABLED_APPVM [ "$TYPE" == "NetVM" ] && DEFAULT_ENABLED=$DEFAULT_ENABLED_NETVM [ "$TYPE" == "ProxyVM" ] && DEFAULT_ENABLED=$DEFAULT_ENABLED_PROXYVM +[ "$TYPE" == "TemplateVM" ] && DEFAULT_ENABLED=$DEFAULT_ENABLED_TEMPLATEVM # Enable default services for srv in $DEFAULT_ENABLED; do