Respect :mac option for networks [GH-1536]
This commit is contained in:
parent
52a2f48b20
commit
fc708bc139
|
@ -23,6 +23,10 @@ IMPROVEMENTS:
|
|||
- Specify the default provider with the `VAGRANT_DEFAULT_PROVIDER`
|
||||
environmental variable. [GH-1478]
|
||||
|
||||
BUG FIXES:
|
||||
|
||||
- The `:mac` option for host-only networks is respected. [GH-1536]
|
||||
|
||||
## 1.1.6 (April 3, 2013)
|
||||
|
||||
BUG FIXES:
|
||||
|
|
|
@ -209,6 +209,7 @@ module VagrantPlugins
|
|||
def hostonly_config(options)
|
||||
options = {
|
||||
:auto_config => true,
|
||||
:mac => nil,
|
||||
:netmask => "255.255.255.0",
|
||||
:type => :static
|
||||
}.merge(options)
|
||||
|
@ -263,7 +264,7 @@ module VagrantPlugins
|
|||
:adapter_ip => options[:adapter_ip],
|
||||
:auto_config => options[:auto_config],
|
||||
:ip => options[:ip],
|
||||
:mac => nil,
|
||||
:mac => options[:mac],
|
||||
:netmask => options[:netmask],
|
||||
:nic_type => nil,
|
||||
:type => options[:type]
|
||||
|
|
Loading…
Reference in New Issue