qemu: pass $USER to -runas in windows-install

This commit is contained in:
Justas Dabrila 2018-08-18 11:19:27 +00:00
parent 587bde8f8e
commit 2203e50994

View File

@ -100,7 +100,7 @@ echo $usbid > /sys/bus/pci/drivers/vfio-pci/remove_id
sleep 1 sleep 1
# QEMU (VM) command # QEMU (VM) command
qemu-system-x86_64 -runas yu -enable-kvm \ qemu-system-x86_64 -runas $USER -enable-kvm \
-nographic -vga none -parallel none -serial none \ -nographic -vga none -parallel none -serial none \
-enable-kvm \ -enable-kvm \
-m $RAM \ -m $RAM \