Ensure "network" service is enabled
It may happen this service isn't enabled (especially on newer Centos/RHEL releases), leading in network misconfigurations. Ensuring it's actually enabled allows br-ctlplane to get configured upon reboot. Related: https://bugzilla.redhat.com/show_bug.cgi?id=1774581 Change-Id: I4a56d837e08498bc4d25d25c7203bfd7d012974e Co-Authored-By: Alex Schultz <aschultz@redhat.com>
This commit is contained in:
parent
b0a75f1db0
commit
804dd0f341
|
@ -593,6 +593,16 @@ outputs:
|
||||||
|
|
||||||
- name: NetworkConfig
|
- name: NetworkConfig
|
||||||
block:
|
block:
|
||||||
|
# os-net-config currently relies on the legacy network
|
||||||
|
# so we need to ensure it's enabled on boot. This should
|
||||||
|
# be removed when we switch to NetworkManager or replaced
|
||||||
|
# with something that ensures NetworkManager is enabled.
|
||||||
|
- name: Ensure network service is enabled
|
||||||
|
systemd:
|
||||||
|
name: network
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
|
|
||||||
- name: Create /var/lib/tripleo-config/scripts directory
|
- name: Create /var/lib/tripleo-config/scripts directory
|
||||||
file:
|
file:
|
||||||
path: /var/lib/tripleo-config/scripts
|
path: /var/lib/tripleo-config/scripts
|
||||||
|
|
Loading…
Reference in New Issue