qemush : ajout de la variable images
This commit is contained in:
parent
9bdc1eef3d
commit
48790fec0d
1 changed files with 3 additions and 2 deletions
|
@ -14,6 +14,7 @@ exec_as() {
|
|||
exec_as qemu "$@" || exit
|
||||
|
||||
bin=bin
|
||||
images=images
|
||||
PATH="./${bin}:${PATH}"
|
||||
|
||||
perror() {
|
||||
|
@ -66,7 +67,7 @@ public_ls() {
|
|||
}
|
||||
|
||||
diskpath() {
|
||||
printf 'images/%s.qcow2' "$1"
|
||||
printf "%s.qcow2" "${images}/${1}"
|
||||
}
|
||||
|
||||
public_diskadd() {
|
||||
|
@ -79,7 +80,7 @@ public_diskrm() {
|
|||
|
||||
public_diskls() {
|
||||
echo "Available disks:"
|
||||
ls --color=auto images
|
||||
ls --color=auto "$images"
|
||||
}
|
||||
|
||||
public_edit() {
|
||||
|
|
Loading…
Reference in a new issue