summaryrefslogtreecommitdiffstats
path: root/autocluster
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2011-05-03 13:17:50 +1000
committerMartin Schwenke <martin@meltin.net>2011-05-03 13:17:50 +1000
commit5a21790e47a2aec47c40f16922955bfc9dbd758e (patch)
treeeaa694e8f06c965f97d9951b9c01b65089689ae1 /autocluster
parentc3944116f35d70fa1b6451fc5740b49257019a9a (diff)
downloadautocluster-5a21790e47a2aec47c40f16922955bfc9dbd758e.tar.gz
autocluster-5a21790e47a2aec47c40f16922955bfc9dbd758e.tar.xz
autocluster-5a21790e47a2aec47c40f16922955bfc9dbd758e.zip
Move sanity check for qcow2 images requiring NBD out of main script.
This is now a condition that only applies for if $SYSTEM_DISK_ACCESS_METHOD is "loopback", so move the check to 05diskimage_guestfish.defconf, check the loopback condition and use post_config_hooks to invoke the check. Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'autocluster')
-rwxr-xr-xautocluster4
1 files changed, 0 insertions, 4 deletions
diff --git a/autocluster b/autocluster
index dd70f88..de7c840 100755
--- a/autocluster
+++ b/autocluster
@@ -1181,10 +1181,6 @@ trap 'es=$?;
# check for needed programs
check_command expect
-if [ "$SYSTEM_DISK_FORMAT" = "qcow2" ] ; then
- check_command $QEMU_NBD
- check_command nbd-client
-fi
[ $# -lt 1 ] && usage