Merge pull request #189 from leseb/change-controller-name

Change disk controller name
pull/191/head
Leseb 2015-01-19 18:25:45 +01:00
commit 4e95686eea
1 changed files with 4 additions and 1 deletions

5
Vagrantfile vendored
View File

@ -103,8 +103,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
vb.customize ['createhd', vb.customize ['createhd',
'--filename', "disk-#{i}-#{d}", '--filename', "disk-#{i}-#{d}",
'--size', '11000'] '--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, vb.customize ['storageattach', :id,
'--storagectl', 'SATA Controller', '--storagectl', 'SATAController',
'--port', 3 + d, '--port', 3 + d,
'--device', 0, '--device', 0,
'--type', 'hdd', '--type', 'hdd',