Merge pull request #202 from austinlparker/dont-update-down-guests
Don't attempt to update machines that are not running during vagrant up
This commit is contained in:
commit
90bd20098b
|
@ -32,7 +32,10 @@ module VagrantPlugins
|
||||||
@global_env.active_machines.each do |name, p|
|
@global_env.active_machines.each do |name, p|
|
||||||
if p == @provider
|
if p == @provider
|
||||||
machine = @global_env.machine(name, p)
|
machine = @global_env.machine(name, p)
|
||||||
@updater.update_guest(machine)
|
state = machine.state
|
||||||
|
if state.short_description.eql? 'running'
|
||||||
|
@updater.update_guest(machine)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue