summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Libvirt.hs
diff options
context:
space:
mode:
authorSean Whitton2018-11-05 20:10:30 -0700
committerSean Whitton2018-11-05 20:10:30 -0700
commit95c8e36992f143a5f204d1dd859dcada9fc4c271 (patch)
tree1eb9947834707ba5e68be3a51b7c33755ca31dcd /src/Propellor/Property/Libvirt.hs
parent8cec852a8737b53967e8ae89f30e94975e5f4f5b (diff)
libvirt: fix unconditional autostart
Diffstat (limited to 'src/Propellor/Property/Libvirt.hs')
-rw-r--r--src/Propellor/Property/Libvirt.hs2
1 files changed, 1 insertions, 1 deletions
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"