mirror of https://github.com/ceph/ceph-ansible.git
tests: sets random_hostname to true for libvirt nodes
This will keep us from having name conflicts between our different testing scenarios. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1105/head
parent
5ccbd31d5f
commit
63e28248d4
|
@ -195,6 +195,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# Libvirt
|
||||
client.vm.provider :libvirt do |lv|
|
||||
lv.memory = MEMORY
|
||||
lv.random_hostname = true
|
||||
end
|
||||
|
||||
# Parallels
|
||||
|
@ -229,6 +230,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# Libvirt
|
||||
rgw.vm.provider :libvirt do |lv|
|
||||
lv.memory = MEMORY
|
||||
lv.random_hostname = true
|
||||
end
|
||||
|
||||
# Parallels
|
||||
|
@ -263,6 +265,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# Libvirt
|
||||
nfs.vm.provider :libvirt do |lv|
|
||||
lv.memory = MEMORY
|
||||
lv.random_hostname = true
|
||||
end
|
||||
|
||||
# Parallels
|
||||
|
@ -296,6 +299,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# Libvirt
|
||||
mds.vm.provider :libvirt do |lv|
|
||||
lv.memory = MEMORY
|
||||
lv.random_hostname = true
|
||||
end
|
||||
# Parallels
|
||||
mds.vm.provider "parallels" do |prl|
|
||||
|
@ -328,6 +332,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# Libvirt
|
||||
rbd_mirror.vm.provider :libvirt do |lv|
|
||||
lv.memory = MEMORY
|
||||
lv.random_hostname = true
|
||||
end
|
||||
# Parallels
|
||||
rbd_mirror.vm.provider "parallels" do |prl|
|
||||
|
@ -360,6 +365,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# Libvirt
|
||||
iscsi_gw.vm.provider :libvirt do |lv|
|
||||
lv.memory = MEMORY
|
||||
lv.random_hostname = true
|
||||
end
|
||||
# Parallels
|
||||
iscsi_gw.vm.provider "parallels" do |prl|
|
||||
|
@ -392,6 +398,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# Libvirt
|
||||
mon.vm.provider :libvirt do |lv|
|
||||
lv.memory = MEMORY
|
||||
lv.random_hostname = true
|
||||
end
|
||||
|
||||
# Parallels
|
||||
|
@ -452,6 +459,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
lv.storage :file, :device => "hd#{driverletters[d]}", :path => "disk-#{i}-#{d}.disk", :size => '12G', :bus => "ide"
|
||||
end
|
||||
lv.memory = MEMORY
|
||||
lv.random_hostname = true
|
||||
end
|
||||
|
||||
# Parallels
|
||||
|
|
Loading…
Reference in New Issue