summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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