diff --git a/bin/qemush b/bin/qemush index f7b1bf6..6bcb110 100755 --- a/bin/qemush +++ b/bin/qemush @@ -69,7 +69,6 @@ public_start() { # argument is provided public_attach() { export QEMUSH_NAME="$1" - shift exec socat -,rawer,escape=15 "UNIX-CONNECT:$(pathof socket)" } @@ -93,8 +92,8 @@ public_ls() { # Create a copy-on-write disk for a virtual machine public_diskadd() { export QEMUSH_NAME="$1" - shift - exec qemu-img create -f qcow2 "$(pathof disk)" "$1" + + exec qemu-img create -f qcow2 "$(pathof disk)" "$2" } # Delete a disk