From 816b29eb18488d3179a43e3da75835febf871487 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 15 Feb 2010 15:31:35 -0800 Subject: [PATCH] Removed duplicate code (from a merge conflict) --- lib/vagrant/vm.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/vagrant/vm.rb b/lib/vagrant/vm.rb index 0579eb57e..8d0f04f57 100644 --- a/lib/vagrant/vm.rb +++ b/lib/vagrant/vm.rb @@ -88,16 +88,6 @@ error @actions << action_klass.new(self) end - def destroy - if @vm.running? - logger.info "VM is running. Forcing immediate shutdown..." - @vm.stop(true) - end - - logger.info "Destroying VM and associated drives..." - @vm.destroy(:destroy_image => true) - end - def execute! # Call the prepare method on each once its # initialized, then call the execute! method