qemush : suppression shift inutile
This commit is contained in:
parent
42734333b0
commit
db2b517194
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue