diff --git a/tests/run.yml b/tests/run.yml index 5c68c1fa93..50c5f26701 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -164,6 +164,7 @@ become: "{{ item.become | default(false) }}" vars: is_previous_release: "{{ is_upgrade }}" + force_config_drive: "{{ 'true' if address_family == 'ipv6' else 'false' }}" with_items: # Ansible inventory - src: "tests/templates/inventory.j2" @@ -647,6 +648,7 @@ dest: "{{ item.dest }}" vars: is_previous_release: false + force_config_drive: "{{ 'true' if address_family == 'ipv6' else 'false' }}" with_items: # Ansible inventory - src: "tests/templates/inventory.j2" diff --git a/tests/templates/nova-compute-overrides.j2 b/tests/templates/nova-compute-overrides.j2 index ea62a697f5..79b1a6ebfd 100644 --- a/tests/templates/nova-compute-overrides.j2 +++ b/tests/templates/nova-compute-overrides.j2 @@ -1,3 +1,5 @@ +[DEFAULT] +force_config_drive = {{ force_config_drive }} [libvirt] {% if ansible_architecture == 'aarch64' %} cpu_mode = custom