From a231059bef4cbd104a15ec722a41d3e2b4fffdc2 Mon Sep 17 00:00:00 2001 From: Alex-Welsh Date: Tue, 26 Mar 2024 17:06:01 +0000 Subject: [PATCH] testo --- .github/workflows/overcloud-host-image-build.yml | 6 ++++++ .../inventory/group_vars/seed/network-interfaces | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/overcloud-host-image-build.yml b/.github/workflows/overcloud-host-image-build.yml index 9af0f74cb..e1fcf94d0 100644 --- a/.github/workflows/overcloud-host-image-build.yml +++ b/.github/workflows/overcloud-host-image-build.yml @@ -190,6 +190,12 @@ jobs: builder EOF + - name: Update seed interface + run: | + cat > src/kayobe-config/etc/kayobe/environments/ci-builder/inventory/hosts << EOF + aio_interface: eth0 + EOF + - name: Bootstrap the control host run: | source venvs/kayobe/bin/activate && diff --git a/etc/kayobe/environments/ci-builder/inventory/group_vars/seed/network-interfaces b/etc/kayobe/environments/ci-builder/inventory/group_vars/seed/network-interfaces index c143fe2c9..a583b7214 100644 --- a/etc/kayobe/environments/ci-builder/inventory/group_vars/seed/network-interfaces +++ b/etc/kayobe/environments/ci-builder/inventory/group_vars/seed/network-interfaces @@ -2,5 +2,12 @@ ############################################################################### # Network interface definitions for the controller group. -# Seed interface on all-in-one network. -aio_interface: eth0 +# Controller interface on all-in-one network. +aio_interface: breth1 +# Use dummy1 if it exists, otherwise the bridge will have no ports. +aio_bridge_ports: "{{ ['dummy1'] if 'dummy1' in hostvars[inventory_hostname].ansible_facts else [] }}" + +############################################################################### +# Dummy variable to allow Ansible to accept this file. +workaround_ansible_issue_8743: yes +