qemush : suppression fonction diskpath
This commit is contained in:
parent
a9bc223f98
commit
829cbbc98e
1 changed files with 0 additions and 4 deletions
|
@ -78,10 +78,6 @@ public_ls() {
|
||||||
exec ls "$bin"
|
exec ls "$bin"
|
||||||
}
|
}
|
||||||
|
|
||||||
diskpath() {
|
|
||||||
printf "%s.qcow2" "${images}/${1}"
|
|
||||||
}
|
|
||||||
|
|
||||||
public_diskadd() {
|
public_diskadd() {
|
||||||
exec qemu-img create -f qcow2 "$(diskpath "$1")" "$2"
|
exec qemu-img create -f qcow2 "$(diskpath "$1")" "$2"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue