Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt update
- sudo apt install qemu-kvm wget git -y
- git clone https://github.com/novnc/noVNC.git
- wget -O win.iso "https://go.microsoft.com/fwlink/p/?LinkID=2195404&clcid=0x409&culture=en-us&country=US"
- qemu-img create -f raw win.img 32G
- cat <<EOF > win.sh
- sudo qemu-system-x86_64 -m 11G -smp 4 -cpu host -boot order=c -drive file=win.iso,media=cdrom -drive file=win.img,format=raw -device usb-ehci,id=usb,bus=pci.0,addr=0x4 -device usb-tablet -vnc :0 -smp cores=4 -device e1000,netdev=n0 -netdev user,id=n0 -vga qxl -accel kvm &
- ./noVNC/utils/novnc_proxy
- EOF
- chmod +x win.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement