From 2d984a2aca5c4ef82e7a375a63b1ad492d7a2772 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 20 Jul 2018 12:34:38 -0400 Subject: inverted --- .../comment_1_c73740e45387fe817280b55bb0e32c12._comment | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3