From 95c8e36992f143a5f204d1dd859dcada9fc4c271 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 5 Nov 2018 20:10:30 -0700 Subject: libvirt: fix unconditional autostart --- src/Propellor/Property/Libvirt.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/Property/Libvirt.hs') diff --git a/src/Propellor/Property/Libvirt.hs b/src/Propellor/Property/Libvirt.hs index 80222248..601f6236 100644 --- a/src/Propellor/Property/Libvirt.hs +++ b/src/Propellor/Property/Libvirt.hs @@ -115,7 +115,7 @@ kvmDefined imageType mem cpus auto h = , "rm " ++ confTmp ]) started :: Property UnixLike - started = case AutoStart of + started = case auto of AutoStart -> scriptProperty [ "virsh list | grep -q \"" ++ hostName h ++ " .*running\" && exit 0" -- cgit v1.2.3