Browse Source

Change switch "wireless" to another example - bridging from VM to

wireless in station mode is not supported.
OPENBSD_6_1
reyk 8 years ago
parent
commit
609593cdaf
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/etc/examples/vm.conf

+ 7
- 7
src/etc/examples/vm.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: vm.conf,v 1.5 2016/10/05 17:30:13 reyk Exp $
# $OpenBSD: vm.conf,v 1.6 2016/10/05 18:01:52 reyk Exp $
# #
# Macros # Macros
@ -9,17 +9,17 @@ sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"
# Virtual machines # Virtual machines
# #
switch "wired" {
switch "uplink" {
# This interface will default to bridge0, but switch(4) is supported # This interface will default to bridge0, but switch(4) is supported
#interface switch0 #interface switch0
# Add additional members # Add additional members
add em0 add em0
down
} }
switch "wireless" {
add iwm0
switch "local" {
add vether0
down
} }
# OpenBSD snapshot install test # OpenBSD snapshot install test
@ -34,8 +34,8 @@ vm "openbsd.vm" {
disk $sets "install60.fs" disk $sets "install60.fs"
# Interface will show up as tap(4) on the host and as vio(4) in the VM # Interface will show up as tap(4) on the host and as vio(4) in the VM
interface { switch "wireless" }
interface { switch "wired" }
interface { switch "uplink" }
interface { switch "local" }
} }
# Another VM that is disabled on startup # Another VM that is disabled on startup


Loading…
Cancel
Save