Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- sudo qemu-system-i386 --enable-kvm -boot c -m 3G -vga qxl -spice port=5900,addr=127.0.0.1,disable-ticketing -drive file=/dev/sda,if=virtio,id=disk,format=raw -smp 2 -netdev tap,id=t0,ifname=vnet0,script=no,downscript=no -device virtio-net,netdev=t0 -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time -usbdevice tablet -soundhw ac97 -balloon virtio -daemonize
- sudo ip link set vnet0 up
- sudo ip ad ad 192.168.3.1/24 dev vnet0
- remote-viewer spice://127.0.0.1:5900
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement