Compare commits

..

1 commit
master ... dev

Author SHA1 Message Date
aa0e22a164 reverting prod master 2021-10-11 19:33:26 +00:00
2 changed files with 6 additions and 7 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
#printf '%b\n' "\n\033[1m"WINDOWS_INIT:"\033[0m"" Executing iso.sh"
#src/iso.sh
printf '%b\n' "\n\033[1m"WINDOWS_INIT:"\033[0m"" Executing iso.sh"
src/iso.sh
printf '%b\n' "\n\033[1m"WINDOWS_INIT:"\033[0m"" Executing vm.sh"
sudo src/vm.sh /dev/sdb # change to needed drive
sudo src/vm.sh

View file

@ -6,8 +6,8 @@
# libvirt-daemon for /shrug
SPICE_PORT=5930
CHARDEV_ID='spicechannel0'
DRIVE=$argv
ISO='Win*.iso'
DRIVE='/dev/sdb' # change drive if needed
ISO='winsp.iso'
sudo qemu-system-x86_64 \
-enable-kvm \
-daemonize \
@ -18,13 +18,12 @@ sudo qemu-system-x86_64 \
-m 8G \
-boot d \
-cdrom ${ISO} \
-hda ${DRIVE} \
-drive file=${DRIVE},format=raw,cache=none,if=virtio \
-vga qxl \
-device virtio-serial-pci \
-spice port=${SPICE_PORT},disable-ticketing=on \
-device virtserialport,chardev=${CHARDEV_ID},name=com.redhat.spice.0 \
-chardev spicevmc,id=${CHARDEV_ID},name=vdagent
#-drive file=${DRIVE},format=raw,cache=none,if=virtio \
exec spicy --title Windows 127.0.0.1 -p ${SPICE_PORT}