diff --git a/roles/copr/backend/templates/resalloc/pools.yaml b/roles/copr/backend/templates/resalloc/pools.yaml index aa56089b19..02387d4909 100644 --- a/roles/copr/backend/templates/resalloc/pools.yaml +++ b/roles/copr/backend/templates/resalloc/pools.yaml @@ -32,8 +32,8 @@ aws_x86_64_normal: - copr_builder - arch_x86_64 - arch_x86_64_native - cmd_new: "/var/lib/resallocserver/resalloc_provision/aws-new --arch=x86_64" - cmd_delete: "/var/lib/resallocserver/resalloc_provision/aws-delete" + cmd_new: "/var/lib/resallocserver/resalloc_provision/vm-aws-new --arch=x86_64" + cmd_delete: "/var/lib/resallocserver/resalloc_provision/vm-aws-delete" # Development configuration. On each aarch64 host we have # 2 guests vms of diff --git a/roles/copr/backend/templates/resalloc/vm-aws-new b/roles/copr/backend/templates/resalloc/vm-aws-new index 534ba4bf17..fd80dc9662 100755 --- a/roles/copr/backend/templates/resalloc/vm-aws-new +++ b/roles/copr/backend/templates/resalloc/vm-aws-new @@ -22,7 +22,7 @@ test -z "$1" || exit "$1" } # handle no arguments -test ${#@} -eq 0 && show_help 1 +test $# -eq 0 && show_help 1 ARGS=$(getopt -o "h" -l "arch:,help" -n "getopt" -- "$@") \ || show_help 1