bsdconf/bhyve/win10.sh

20 lines
890 B
Bash
Executable file

#!/bin/sh
./enroll-tap.sh vnat0 tap4 &
bhyve \
-c 2 \
-s 0,hostbridge \
-s 3,ahci-hd,/var/lib/libvirt/images/win10.img \
-s 10,virtio-net,tap4 \
-s 15,fbuf,rfb=127.0.0.1:5969,w=1280,h=720 \
-s 31,lpc \
-l com1,/dev/nmdm0A \
-l com2,/dev/nmdm1A \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
-m 6144M \
-H \
-w \
win10
# -s 4,ahci-cd,/home/mykola/iso/win10-eagle123.iso \