mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Merge pull request #209 from joejulian/accept_other_mac_formats
Accept other MAC address formats.
This commit is contained in:
commit
e603645f43
@ -81,6 +81,7 @@ module VagrantPlugins
|
||||
message = "Creating network interface eth#{@iface_number}"
|
||||
message << " connected to network #{@network_name}."
|
||||
if @mac
|
||||
@mac = mac.scan(/(\h{2})/).join(':')
|
||||
message << " Using MAC address: #{@mac}"
|
||||
end
|
||||
@logger.info(message)
|
||||
|
Loading…
Reference in New Issue
Block a user