# File lib/vagrant-lxc/provider.rb, line 83 def state state_id = nil state_id = :not_created if !@driver.container_name state_id = @driver.state if !state_id state_id = :unknown if !state_id short = state_id.to_s.gsub("_", " ") long = I18n.t("vagrant.commands.status.#{state_id}") Vagrant::MachineState.new(state_id, short, long) end