]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Change disk controller name 189/head
authorSébastien Han <sebastien.han@enovance.com>
Mon, 19 Jan 2015 17:20:01 +0000 (18:20 +0100)
committerSébastien Han <sebastien.han@enovance.com>
Mon, 19 Jan 2015 17:25:14 +0000 (18:25 +0100)
The recently added Trusty box was build with a Controller named
"SATAController", we must reuse the same name while adding our devices.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Vagrantfile

index 33089212f7ba825377471043d9fe74621555133f..88200abeb7344272cde197210ad99c2294295fbc 100644 (file)
@@ -103,8 +103,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
           vb.customize ['createhd',
                         '--filename', "disk-#{i}-#{d}",
                         '--size', '11000']
+          # Controller names are dependent on the VM being built.
+          # 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', 'SATA Controller',
+                        '--storagectl', 'SATAController',
                         '--port', 3 + d,
                         '--device', 0,
                         '--type', 'hdd',