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
|
||||
results = []
|
||||
execute("list", "vms", :retryable => true).split("\n").each do |line|
|
||||
if vm line[/^".+?" \{(.+?)\}$/, 1]
|
||||
if vm = line[/^".+?" \{(.+?)\}$/, 1]
|
||||
results << vm
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue