Lets ensure the utsname is always set before starting the container

This commit is contained in:
Fabio Rehm 2013-06-06 00:03:37 -03:00
parent c6af4fab08
commit 75a2d0c65d

View file

@ -11,6 +11,8 @@ module Vagrant
config = env[:machine].provider_config
config.customize 'utsname', env[:machine].id
env[:ui].info I18n.t("vagrant_lxc.messages.starting")
env[:machine].provider.driver.start(config.customizations)
raise Vagrant::Errors::VMFailedToBoot if !wait_for_boot