set hostname for 1.0 as required by provisioning
In a fresh checkout: $ ( cd development; ln -s Vagrantfile{.1.0,}; vagrant up ) Was failing with: err: /Stage[main]//Exec[config-lxc]/returns: change from notrun to 0 failed: cp /vagrant/development/lxc-configs/quantal64 /etc/default/lxc returned 1 instead of one of [0] at /tmp/vagrant-puppet/manifests/site.pp:19 because the hostname was "quantal64" and the puppet manifest attempts to install the lxc-config based on the hostname name of the VM.
This commit is contained in:
parent
ef19c1e0b3
commit
f9d118840b
1 changed files with 3 additions and 2 deletions
|
@ -12,8 +12,9 @@ def local_cache(box_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
Vagrant::Config.run do |config|
|
Vagrant::Config.run do |config|
|
||||||
config.vm.box = "quantal64"
|
config.vm.box = "quantal64"
|
||||||
config.vm.box_url = "https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box"
|
config.vm.box_url = "https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box"
|
||||||
|
config.vm.host_name = 'lxc-dev-box'
|
||||||
|
|
||||||
cache_dir = local_cache(config.vm.box)
|
cache_dir = local_cache(config.vm.box)
|
||||||
config.vm.share_folder "v-root", "/vagrant", "../"
|
config.vm.share_folder "v-root", "/vagrant", "../"
|
||||||
|
|
Loading…
Reference in a new issue