Use dummy1 as bridge port instead of eth1
With NetworkManager, the MichaelRigart.interfaces role only creates an interface with the dummy type if it is called dummy*, otherwise it is created as ethernet. The default dev configuration was using eth1 for the bridge port, which was causing issues on Rocky Linux 9, for example when following the automated setup [1]. Switch to dummy1 to ensure a dummy port is created. [1] https://docs.openstack.org/kayobe/latest/contributor/automated.html Change-Id: Ib61a62e126c66d4133d8e80dff5643ebc6966bd1
This commit is contained in:
parent
9ea61b6c17
commit
baf5c9f719
@ -4,8 +4,8 @@
|
||||
|
||||
# Controller interface on all-in-one network.
|
||||
aio_interface: breth1
|
||||
# Use eth1 if it exists, otherwise the bridge will have no ports.
|
||||
aio_bridge_ports: "{{ ['eth1'] if 'ansible_eth1' in hostvars[inventory_hostname] else [] }}"
|
||||
# Use dummy1 if it exists, otherwise the bridge will have no ports.
|
||||
aio_bridge_ports: "{{ ['dummy1'] if 'ansible_dummy1' in hostvars[inventory_hostname] else [] }}"
|
||||
|
||||
###############################################################################
|
||||
# Dummy variable to allow Ansible to accept this file.
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
# Seed interface on all-in-one network.
|
||||
aio_interface: breth1
|
||||
# Use eth1 if it exists, otherwise the bridge will have no ports.
|
||||
aio_bridge_ports: "{{ ['eth1'] if 'ansible_eth1' in hostvars[inventory_hostname] else [] }}"
|
||||
# Use dummy1 if it exists, otherwise the bridge will have no ports.
|
||||
aio_bridge_ports: "{{ ['dummy1'] if 'ansible_dummy1' in hostvars[inventory_hostname] else [] }}"
|
||||
|
||||
###############################################################################
|
||||
# Dummy variable to allow Ansible to accept this file.
|
||||
|
Loading…
Reference in New Issue
Block a user