Commit da6442a4 authored by ale's avatar ale

Set pseudorandom libvirt network name

When running under Gitlab CI.
parent 9fc060e4
Pipeline #11002 passed with stages
in 10 minutes and 17 seconds
......@@ -112,7 +112,7 @@ Vagrant.configure(2) do |config|
{% for h in hosts %}
config.vm.define "{{ h.name }}" do |m|
m.vm.hostname = "{{ h.name }}"
m.vm.network "private_network", ip: "{{ h.ip }}"{% if libvirt %}, libvirt__dhcp_enabled: false{% endif %}
m.vm.network "private_network", ip: "{{ h.ip }}"{% if libvirt %}, libvirt__dhcp_enabled: false, libvirt__network_name: "float-net-#{ENV['CI_JOB_ID']}"{% endif %}
end
{% endfor %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment