qemu-system-aarch64-wrapper: fix -M ? option following recent changes
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 12 Jun 2019 20:07:25 +0000 (22:07 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 12 Jun 2019 20:07:25 +0000 (22:07 +0200)
modules/ganeti2/files/qemu-system-aarch64-wrapper

index d00d155..407f87d 100755 (executable)
@@ -23,8 +23,7 @@ while [ "$1" ]; do
             # Ignore the machine argument (it will be defined below),
             # except when querying the list of machines
             if [ "$2" = "?" ] ; then
-                args+=("-M")
-                args+=("?")
+                machine="?"
             fi
             shift
             ;;