Use netgraph networking in bhyve.
This commit is contained in:
parent
9bf0875ad9
commit
9406b8337e
@ -23,7 +23,7 @@
|
|||||||
# - firefox
|
# - firefox
|
||||||
# - devfs
|
# - devfs
|
||||||
# - ssh_client
|
# - ssh_client
|
||||||
# - jail
|
- jail
|
||||||
# - fuse
|
# - fuse
|
||||||
# - autofs
|
# - autofs
|
||||||
# - exfat
|
# - exfat
|
||||||
|
@ -13,15 +13,10 @@ console="tmux"
|
|||||||
cpu=1
|
cpu=1
|
||||||
memory=1024M
|
memory=1024M
|
||||||
|
|
||||||
# Automatic switch ifconfig networking
|
|
||||||
# network0_type="virtio-net"
|
|
||||||
# network0_switch="customswitch"
|
|
||||||
|
|
||||||
# Manually specify network device
|
|
||||||
# network0_type="virtio-net"
|
|
||||||
# network0_device="host_link3"
|
|
||||||
|
|
||||||
disk0_type="virtio-blk"
|
disk0_type="virtio-blk"
|
||||||
disk0_name="disk0"
|
disk0_name="disk0"
|
||||||
disk0_dev="sparse-zvol"
|
disk0_dev="sparse-zvol"
|
||||||
virt_random="yes" # virtio-rnd
|
virt_random="yes" # virtio-rnd
|
||||||
|
|
||||||
|
# Creates a link to host_bridge1's link3 hook to the vmlink hook on a type socket
|
||||||
|
bhyve_options="-s 2:0,virtio-net,netgraph,path=host_bridge1:,peerhook=link3"
|
||||||
|
Loading…
Reference in New Issue
Block a user