devstack-vagrant/config.yaml.sample
Chris Dent aa556b8a56 Allow use of local box for base box.
config.vm.box refers to the box that is used as the starting
point for the box being brought up. That later box gets its
own name and can be packaged.

By getting rid of the vm.box assignment it becomes possible to
use a box that has been added to the local vagrant set up as
the base.

The Vagrantfile has been adjusted so that if conf['box_name']
is set it wins over conf['box_url'] with a fallback to box_url
and then a fallback to the internally defined precise box.

config.yaml.sample comments updated accordingly.

Also took advantage of this moment to moan about Vagrant's
handling of network interface identifiers (in the config sample).
2014-05-29 10:14:04 +01:00

32 lines
1.2 KiB
Plaintext

manager_hostname: api.dague.pvt
compute1_hostname: compute1.dague.pvt
stack_pass: somebiglongLinuxpasswordhash
stack_sshkey: >
the_ssh_public_key_you_want_for_your_stack_user
# Define the setup mode to install the environment
# valid values: grenade/devstack default is devstack
setup_mode: devstack
# what interface on the host should be used for a bridge
# will often be eth0, but vagrant needs to know for sure
# This needs to be the full string descriptor of the interface.
# On some systems this can be something annoying like
# 'en1: Wi-Fi (Airport)'. Vagrant will not use this setting
# unless you get it exactly right.
bridge_int: eth1
# A non upstream for the base box, used to speed things up.
# Choose one of box_name (for a locally added box) or box_url
# for the url of a nearby box.
#box_name: 'my.favorite'
#box_url: http://gallifrey/vagrant/devstack-2014-02-19.box
# Local devstack options
# a non upstream git url to fetch devstack from instead
#devstack_git: /home/vagrant/openstack/devstack
# if you have code on a different branch than master, you can set it here
#devstack_branch: compute_err_exit
# You can specify stable mac addresses to keep this from resetting
# on every create
# manager_mac: 0800274a508c
# compute1_mac: 0800274a508d