Reset member type for each interface

This commit is contained in:
Matt Churchyard
2016-08-24 09:54:46 +01:00
parent cba3a71782
commit 7afd26a8b2
2 changed files with 3 additions and 2 deletions

View File

@@ -466,7 +466,7 @@ vm::bhyve_device_disks(){
#
vm::bhyve_device_networking(){
local _type _switch _mac _custom_tap _tap _sid _mtu _span
local _num=0 _member_type="addm"
local _num=0 _member_type
while [ 1 ]; do
config::get "_type" "network${_num}_type"
@@ -504,6 +504,7 @@ vm::bhyve_device_networking(){
fi
# should this be a span member?
_member_type="addm"
util::checkyesno "${_span}" && _member_type="span"
if [ -n "${_tap}" ]; then

2
vm
View File

@@ -25,7 +25,7 @@
# POSSIBILITY OF SUCH DAMAGE.
VERSION=1.2-alpha
VERSION_INT=102028
VERSION_INT=102029
VERSION_BSD=$(uname -K)
PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin