qemush : suppression shift inutile

This commit is contained in:
Ahurac 2024-03-24 23:27:56 +01:00
parent 42734333b0
commit db2b517194

View file

@ -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