providers/virtualbox: ignore unknown status interfaces [GH-6061]
This commit is contained in:
parent
c1acbec55e
commit
dbf419abad
|
@ -101,6 +101,7 @@ BUG FIXES:
|
|||
- guests/suse: DHCP network interfaces properly configured [GH-6502]
|
||||
- hosts/slackware: Better detection of NFS [GH-6367]
|
||||
- providers/hyper-v: support generation 2 VMs [GH-6372]
|
||||
- providers/virtualbox: ignore "Unknown" status bridge interfaces [GH-6061]
|
||||
- provisioners/ansible: use quotes for the `ansible_ssh_private_key_file`
|
||||
value in the generated inventory [GH-6209]
|
||||
- provisioners/ansible: don't show the `ansible-playbook` command when verbose
|
||||
|
|
|
@ -148,7 +148,7 @@ module VagrantPlugins
|
|||
def bridged_adapter(config)
|
||||
# Find the bridged interfaces that are available
|
||||
bridgedifs = @env[:machine].provider.driver.read_bridged_interfaces
|
||||
bridgedifs.delete_if { |interface| interface[:status] == "Down" }
|
||||
bridgedifs.delete_if { |interface| interface[:status] == "Down" || interface[:status] == "Unknown" }
|
||||
|
||||
# The name of the chosen bridge interface will be assigned to this
|
||||
# variable.
|
||||
|
|
Loading…
Reference in New Issue