summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/Libvirt.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/Libvirt.hs b/src/Propellor/Property/Libvirt.hs
index 0f4c274c..053b60a6 100644
--- a/src/Propellor/Property/Libvirt.hs
+++ b/src/Propellor/Property/Libvirt.hs
@@ -24,6 +24,7 @@ installed = Apt.installed ["libvirt-clients", "virtinst"]
defaultNetworkAutostarted :: Property UnixLike
defaultNetworkAutostarted = check (not <$> doesFileExist autostartFile)
(cmdProperty "virsh" ["net-autostart", "default"])
+ `requires` installed
where
autostartFile = "/etc/libvirt/qemu/networks/autostart/default.xml"