Merge branch 'patch-1' of https://github.com/schlamar/vagrant into schlamar-patch-1

Conflicts:
	CHANGELOG.md
This commit is contained in:
Mitchell Hashimoto 2014-03-12 08:45:35 -07:00
commit 8172fbbd6d
2 changed files with 4 additions and 2 deletions

View File

@ -11,6 +11,8 @@ BUG FIXES:
hiding input. [GH-3119]
- core: Adding a box by path in Cygwin on Windos works. [GH-3132]
- guests/darwin: Fix an exception when configuring networks. [GH-3143]
- providers/virtualbox: Make more internal interactions with VBoxManage
retryable to avoid spurious VirtualBox errors. [GH-2831]
- provisioners/ansible: Request SSH info within the provision method,
when we know its available. [GH-3111]

View File

@ -72,7 +72,7 @@ module VagrantPlugins
networks << $1.to_s if line =~ /^Name:\s+(.+?)$/
end
execute("list", "vms").split("\n").each do |line|
execute("list", "vms", retryable: true).split("\n").each do |line|
if line =~ /^".+?"\s+\{(.+?)\}$/
info = execute("showvminfo", $1.to_s, "--machinereadable", :retryable => true)
info.split("\n").each do |inner_line|
@ -222,7 +222,7 @@ module VagrantPlugins
end
end
output = execute("list", "vms")
output = execute("list", "vms", retryable: true)
match = /^"#{Regexp.escape(specified_name)}" \{(.+?)\}$/.match(output)
return match[1].to_s if match
nil