From a72c6b33de8811175eadcf6ecca6b126bb2e113e Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 5 Apr 2019 11:38:29 -0400 Subject: [PATCH] deployed-server: start and enable network service On the new versions of RHEL, the network service isn't enabled by default because this mechanism became legacy. However, our os-net-config doesn't use the new network manager, so we still rely on on the network service to manage things like the virtual bridges on the Undercloud and the Overcloud. Change-Id: Iceeeef8535738093be2438abd9deec99f5d61c1b Closes-Bug: #1823353 --- .../post-install.d/51-enable-network-service | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 elements/overcloud-base/post-install.d/51-enable-network-service diff --git a/elements/overcloud-base/post-install.d/51-enable-network-service b/elements/overcloud-base/post-install.d/51-enable-network-service new file mode 100644 index 00000000..b41e934c --- /dev/null +++ b/elements/overcloud-base/post-install.d/51-enable-network-service @@ -0,0 +1,8 @@ +#!/bin/bash + +set -eux +set -o pipefail + +# https://launchpad.net/bugs/1823353 +systemctl enable network +systemctl start network