qemush : suppression fonction diskpath

This commit is contained in:
Ahurac 2023-12-08 11:24:13 +01:00
parent a9bc223f98
commit 829cbbc98e

View file

@ -78,10 +78,6 @@ public_ls() {
exec ls "$bin"
}
diskpath() {
printf "%s.qcow2" "${images}/${1}"
}
public_diskadd() {
exec qemu-img create -f qcow2 "$(diskpath "$1")" "$2"
}