mirror of https://github.com/ceph/ceph-ansible.git
commit
3fadd0bf32
|
@ -15,6 +15,7 @@ CLIENTS = settings['client_vms']
|
||||||
SUBNET = settings['subnet']
|
SUBNET = settings['subnet']
|
||||||
BOX = settings['vagrant_box']
|
BOX = settings['vagrant_box']
|
||||||
MEMORY = settings['memory']
|
MEMORY = settings['memory']
|
||||||
|
STORAGECTL = settings['vagrant_storagectl']
|
||||||
|
|
||||||
ansible_provision = proc do |ansible|
|
ansible_provision = proc do |ansible|
|
||||||
ansible.playbook = 'site.yml'
|
ansible.playbook = 'site.yml'
|
||||||
|
@ -122,7 +123,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
# It is set when the base box is made in our case ubuntu/trusty64.
|
# It is set when the base box is made in our case ubuntu/trusty64.
|
||||||
# Be careful while changing the box.
|
# Be careful while changing the box.
|
||||||
vb.customize ['storageattach', :id,
|
vb.customize ['storageattach', :id,
|
||||||
'--storagectl', 'SATAController',
|
'--storagectl', STORAGECTL,
|
||||||
'--port', 3 + d,
|
'--port', 3 + d,
|
||||||
'--device', 0,
|
'--device', 0,
|
||||||
'--type', 'hdd',
|
'--type', 'hdd',
|
||||||
|
|
|
@ -21,3 +21,4 @@ memory: 256
|
||||||
# - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
|
# - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
|
||||||
# - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
|
# - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
|
||||||
vagrant_box: ubuntu/trusty64
|
vagrant_box: ubuntu/trusty64
|
||||||
|
vagrant_storagectl: 'SATAController'
|
||||||
|
|
Loading…
Reference in New Issue