mirror of https://github.com/ceph/ceph-ansible.git
Add more tiny disks
Instead of having 5GB disks now we have 6 disks of 1GB per virtual machine, which is more than enough for testing. Signed-off-by: Sébastien Han <sebastien.han@enovance.com>pull/30/head
parent
67342f0958
commit
cbbd046a0f
|
@ -20,9 +20,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
osd.vm.hostname = "ceph-osd#{i}"
|
osd.vm.hostname = "ceph-osd#{i}"
|
||||||
osd.vm.network :private_network, ip: "192.168.0.10#{i}"
|
osd.vm.network :private_network, ip: "192.168.0.10#{i}"
|
||||||
osd.vm.network :private_network, ip: "192.168.0.20#{i}"
|
osd.vm.network :private_network, ip: "192.168.0.20#{i}"
|
||||||
(0..2).each do |d|
|
(0..5).each do |d|
|
||||||
osd.vm.provider :virtualbox do |vb|
|
osd.vm.provider :virtualbox do |vb|
|
||||||
vb.customize [ "createhd", "--filename", "disk-#{i}-#{d}", "--size", "5000" ]
|
vb.customize [ "createhd", "--filename", "disk-#{i}-#{d}", "--size", "1000" ]
|
||||||
vb.customize [ "storageattach", :id, "--storagectl", "SATA Controller", "--port", 3+d, "--device", 0, "--type", "hdd", "--medium", "disk-#{i}-#{d}.vdi" ]
|
vb.customize [ "storageattach", :id, "--storagectl", "SATA Controller", "--port", 3+d, "--device", 0, "--type", "hdd", "--medium", "disk-#{i}-#{d}.vdi" ]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue