fix reading information method for vbox 4.1
This commit is contained in:
parent
b0e6085c0b
commit
e8c5cf09db
|
@ -386,7 +386,7 @@ module Vagrant
|
||||||
def read_vms
|
def read_vms
|
||||||
results = []
|
results = []
|
||||||
execute("list", "vms", :retryable => true).split("\n").each do |line|
|
execute("list", "vms", :retryable => true).split("\n").each do |line|
|
||||||
if vm line[/^".+?" \{(.+?)\}$/, 1]
|
if vm = line[/^".+?" \{(.+?)\}$/, 1]
|
||||||
results << vm
|
results << vm
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue