Skip to content

Commit

Permalink
move freeze outside !=:running conditional
Browse files Browse the repository at this point in the history
this will set it to frozen when ever up is called rather than only if
it needs to be started.
  • Loading branch information
jon-proulx committed Mar 17, 2012
1 parent a2942ba commit ec8c30b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions features/support/vagrantbox.rb
Expand Up @@ -22,11 +22,11 @@ def up
if @env.primary_vm.state != :running
print "Booting #{@name} patience..."
@env.cli("up")
puts "frezzing mv state..."
self.freeze
puts "done"
end
raise "Failed to start vm #{@name} " if @env.primary_vm.state != :running
puts "freezing mv state..."
self.freeze
puts "done"
end

def freeze
Expand Down

0 comments on commit ec8c30b

Please sign in to comment.