]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Vagrant storagectl as option 393/head
authorEmilien Mantel <emilien.mantel@na-work.com>
Thu, 27 Aug 2015 09:24:53 +0000 (11:24 +0200)
committerEmilien Mantel <emilien.mantel@na-work.com>
Thu, 27 Aug 2015 09:26:10 +0000 (11:26 +0200)
Vagrantfile
vagrant_variables.yml.sample

index 842aff0cd94a6d0887f3ec3fdd5c6e513d4de237..59539d8153fe0bedd2d6c089d9861099e3337fda 100644 (file)
@@ -15,6 +15,7 @@ CLIENTS    = settings['client_vms']
 SUBNET     = settings['subnet']
 BOX        = settings['vagrant_box']
 MEMORY     = settings['memory']
+STORAGECTL = settings['vagrant_storagectl']
 
 ansible_provision = proc do |ansible|
   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.
           # Be careful while changing the box.
           vb.customize ['storageattach', :id,
-                        '--storagectl', 'SATAController',
+                        '--storagectl', STORAGECTL,
                         '--port', 3 + d,
                         '--device', 0,
                         '--type', 'hdd',
index e41639b50d57424eaec580b6ebccbeaaef5b69ae..a7278eb05c91ec4a29ebc0834b084b015a0f8679 100644 (file)
@@ -21,3 +21,4 @@ memory: 256
 #   - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
 #   - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
 vagrant_box: ubuntu/trusty64
+vagrant_storagectl: 'SATAController'