Lets ensure the utsname is always set before starting the container
This commit is contained in:
parent
c6af4fab08
commit
75a2d0c65d
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ module Vagrant
|
||||||
|
|
||||||
config = env[:machine].provider_config
|
config = env[:machine].provider_config
|
||||||
|
|
||||||
|
config.customize 'utsname', env[:machine].id
|
||||||
|
|
||||||
env[:ui].info I18n.t("vagrant_lxc.messages.starting")
|
env[:ui].info I18n.t("vagrant_lxc.messages.starting")
|
||||||
env[:machine].provider.driver.start(config.customizations)
|
env[:machine].provider.driver.start(config.customizations)
|
||||||
raise Vagrant::Errors::VMFailedToBoot if !wait_for_boot
|
raise Vagrant::Errors::VMFailedToBoot if !wait_for_boot
|
||||||
|
|
Loading…
Reference in a new issue