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>
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',