support macs in xx:xx:xx:xx:xx:xx format as well
This commit is contained in:
parent
6416bf8ef6
commit
e2d5c12870
|
@ -66,7 +66,7 @@ module Vagrant
|
|||
adapter.attachment_type = :host_only
|
||||
adapter.host_interface = network_name(network_options)
|
||||
if network_options[:mac]
|
||||
adapter.mac_address = network_options[:mac]
|
||||
adapter.mac_address = network_options[:mac].gsub(/:/, '')
|
||||
end
|
||||
adapter.save
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue