providers/virtualbox: set proper mac address on priv net [GH-3588]

This commit is contained in:
Mitchell Hashimoto 2014-04-30 17:09:29 -07:00
parent 53939d0a47
commit 9c420b8738
2 changed files with 8 additions and 5 deletions

View File

@ -62,6 +62,8 @@ BUG FIXES:
- commands/rsync-auto: Run properly on Windows. [GH-3547]
- providers/virtualbox: VirtalBox detection works properly again on
Windows when the `VBOX_INSTALL_PATH` has multiple elements. [GH-3549]
- providers/virtualbox: Forcing MAC address on private network works
properly again. [GH-3588]
- provisioners/salt: Always copy keys and configs on provision. [GH-3536]
- provisioners/salt: Install args should always be present with bootstrap.
- provisioners/salt: Overwrite keys properly on subsequent provisions [GH-3575]

View File

@ -114,6 +114,7 @@ module VagrantPlugins
))
end
p adapters
env[:machine].provider.driver.enable_adapters(adapters)
end
@ -341,11 +342,11 @@ module VagrantPlugins
end
return {
:adapter => config[:adapter],
:hostonly => interface[:name],
:mac => config[:mac],
:nic_type => config[:nic_type],
:type => :hostonly
:adapter => config[:adapter],
:hostonly => interface[:name],
:mac_address => config[:mac],
:nic_type => config[:nic_type],
:type => :hostonly
}
end