diff options
author | Martin Schwenke <martin@meltin.net> | 2011-05-03 13:17:50 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2011-05-03 13:17:50 +1000 |
commit | 5a21790e47a2aec47c40f16922955bfc9dbd758e (patch) | |
tree | eaa694e8f06c965f97d9951b9c01b65089689ae1 /autocluster | |
parent | c3944116f35d70fa1b6451fc5740b49257019a9a (diff) | |
download | autocluster-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-x | autocluster | 4 |
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 |