diff options
Diffstat (limited to 'packager/openslx')
-rwxr-xr-x | packager/openslx | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/packager/openslx b/packager/openslx index 9613196b..69102564 100755 --- a/packager/openslx +++ b/packager/openslx @@ -31,12 +31,6 @@ else banner fi -# do we even have tools? -for TOOL in qemu-img qemu-nbd mkfs.ext4; do - which "${TOOL}" &>/dev/null || \ - perror "Could not find '${TOOL}'. Please install it." -done - # setup trap trap cleanexit SIGINT SIGTERM @@ -44,12 +38,5 @@ trap cleanexit SIGINT SIGTERM read_params $@ # react to given action -if [ "x$ACTION" == "xCLONE" ]; then - clone_stage4 || perror "Cloning stage4 failed with: $?" -elif [ "x$ACTION" == "xPACKAGE" ]; then - pack_qcow2 || perror "Packing as QCoW2 failed with: $?" -else - pwarning "No action given." - print_usage -fi +process_action |