virtual-machines: make run scripts not require a folder

master
an 2019-08-15 23:37:48 -04:00
parent 8dc14c948b
commit 4400af6f81
5 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ function vm-qemu -d "Frontend to QEMU"
_vm_media="/mnt/s/osmedia" \
_vm_setup="$_agw_dir_rc/virtual-machines/qemu-setup" \
_vm_args="$argv" \
$_agw_dir_rc/virtual-machines/$cfg/run
$_agw_dir_rc/virtual-machines/$cfg
end
complete -c vm-qemu -xa "(ls $_agw_dir_rc/virtual-machines)"

View File

@ -2,7 +2,7 @@
# vim: syntax=fish:
set _arch x86_64
set _install "$_vm_media/Linux/Void Linux/void-live-x86_64-musl-20181111.iso"
set _install "$_vm_media/Linux/Void/live-x86_64-musl-20181111.iso"
set _args \
-m 2048 \
--usb