|
|
|
@ -28,7 +28,7 @@ function parse_options { |
|
|
|
|
|
|
|
shift 1 # Move to the next argument |
|
|
|
done |
|
|
|
[[ -z $CONTAINER ]] && (usage && exit 1) || true |
|
|
|
[[ -z $CONTAINER ]] && usage && exit 1 || true |
|
|
|
} |
|
|
|
|
|
|
|
function halt_on_error { |
|
|
|
@ -45,7 +45,6 @@ function assert_proxmox { |
|
|
|
|
|
|
|
set -Eue |
|
|
|
parse_options $* |
|
|
|
|
|
|
|
assert_proxmox |
|
|
|
echo DONE |
|
|
|
# 0. test host is Proxmox |
|
|
|
|