mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #621 from FooBarQuaxx/patch-1
Suppress Virtualbox disk creation if already presentpull/626/head
commit
57f4a77633
|
@ -206,7 +206,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
(0..1).each do |d|
|
||||
vb.customize ['createhd',
|
||||
'--filename', "disk-#{i}-#{d}",
|
||||
'--size', '11000']
|
||||
'--size', '11000'] unless File.exist?("disk-#{i}-#{d}.vdi")
|
||||
# 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.
|
||||
|
|
Loading…
Reference in New Issue