match hwaddr lines with varying spaces
This commit is contained in:
parent
44f00bd7ed
commit
b5c7a50a74
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ module Vagrant
|
|||
end
|
||||
|
||||
def mac_address
|
||||
@mac_address ||= config_string.match(/^lxc\.network\.hwaddr\s+=\s+(.+)$/)[1]
|
||||
@mac_address ||= config_string.match(/^lxc\.network\.hwaddr\s*+=\s*+(.+)$/)[1]
|
||||
end
|
||||
|
||||
def config_string
|
||||
|
|
Loading…
Reference in a new issue