summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorJoey Hess2018-07-20 12:34:38 -0400
committerJoey Hess2018-07-20 12:34:38 -0400
commit2d984a2aca5c4ef82e7a375a63b1ad492d7a2772 (patch)
tree913cf27949ea8aaec43e717964263e1c17f5b89c /doc/todo
parent164bf71fb6ce212aa26a8ffe9a610a8dac6bdd48 (diff)
inverted
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/support_for_libvirt_KVM_VMs/comment_1_c73740e45387fe817280b55bb0e32c12._comment4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/todo/support_for_libvirt_KVM_VMs/comment_1_c73740e45387fe817280b55bb0e32c12._comment b/doc/todo/support_for_libvirt_KVM_VMs/comment_1_c73740e45387fe817280b55bb0e32c12._comment
index 24ad2c45..f4ff3615 100644
--- a/doc/todo/support_for_libvirt_KVM_VMs/comment_1_c73740e45387fe817280b55bb0e32c12._comment
+++ b/doc/todo/support_for_libvirt_KVM_VMs/comment_1_c73740e45387fe817280b55bb0e32c12._comment
@@ -10,9 +10,9 @@ so is `debootstrapTheChrootAndPackIntoQcow2File`,
so to check if the disk image exists, you'll instead
want to use the `check` combinator. Something like:
- & check (doesFileExist "/path/to/image.qcow2")
- debootstrapTheChrootAndPackIntoQcow2File theHost
& check (not <$> doesFileExist "/path/to/image.qcow2")
+ debootstrapTheChrootAndPackIntoQcow2File theHost
+ & check (doesFileExist "/path/to/image.qcow2")
conducts [theHost] `requires` KVM.booted theHost
Perhaps the redundancy in that can be reduced with a new combinator