# File lib/vagrant-lxc/driver/cli.rb, line 91 def stop attach '/sbin/halt' if supports_attach? begin run :stop, '--name', @name rescue LXC::Errors::ExecuteError => e if e.exitcode == 2 @logger.debug "Machine already stopped, lxc-stop returned 2" else raise e end end end