mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #998 from batrick/vagrant-label-prefix
vagrant: add label_prefix settingpull/1001/head
commit
1a7d1ca6bf
|
@ -9,7 +9,7 @@ DEBUG = false
|
|||
config_file=File.expand_path(File.join(File.dirname(__FILE__), 'vagrant_variables.yml'))
|
||||
settings=YAML.load_file(config_file)
|
||||
|
||||
LABEL_PREFIX = ""
|
||||
LABEL_PREFIX = settings['label_prefix'] ? settings['label_prefix'] : ""
|
||||
NMONS = settings['mon_vms']
|
||||
NOSDS = settings['osd_vms']
|
||||
NMDSS = settings['mds_vms']
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
vagrant_box: 'linode'
|
||||
vagrant_box_url: 'https://github.com/displague/vagrant-linode/raw/master/box/linode.box'
|
||||
|
||||
# Set a label prefix for the machines in this cluster. (This is useful and necessary when running multiple clusters concurrently.)
|
||||
#label_prefix: 'foo'
|
||||
|
||||
ssh_username: 'vagrant'
|
||||
ssh_private_key_path: '~/.ssh/id_rsa'
|
||||
|
||||
|
|
Loading…
Reference in New Issue