From 2540d46b68b51a7b6e6c9f2bfa0afff7dfbbe4fd Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Thu, 23 Sep 2021 13:03:34 -0700 Subject: [PATCH] Make sure that ifcfg-XXXX files work properly --- containers/Singularity/centos-8.def | 9 ++++++++- containers/Singularity/rocky-8.def | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/containers/Singularity/centos-8.def b/containers/Singularity/centos-8.def index 6935d10a..bb7ca7d8 100644 --- a/containers/Singularity/centos-8.def +++ b/containers/Singularity/centos-8.def @@ -14,4 +14,11 @@ Include: dnf shadow-utils rsyslog tzdata util-linux words zlib tar less \ gzip which util-linux openssh-clients openssh-server dhclient \ pciutils vim-minimal shadow-utils strace cronie crontabs cpio \ - wget centos-release ipmitool yum + wget centos-release ipmitool yum NetworkManager network-scripts + + systemctl disable NetworkManager + systemctl disable NetworkManager-dispatcher + systemctl disable NetworkManager-wait-online + systemctl enable network-scripts + + touch /etc/sysconfig/disable-deprecation-warnings \ No newline at end of file diff --git a/containers/Singularity/rocky-8.def b/containers/Singularity/rocky-8.def index f4050036..6daa14e0 100644 --- a/containers/Singularity/rocky-8.def +++ b/containers/Singularity/rocky-8.def @@ -14,4 +14,11 @@ Include: dnf shadow-utils rsyslog tzdata util-linux words zlib tar less \ gzip which util-linux openssh-clients openssh-server dhclient \ pciutils vim-minimal shadow-utils strace cronie crontabs cpio \ - wget rocky-release ipmitool yum NetworkManager \ No newline at end of file + wget rocky-release ipmitool yum NetworkManager network-scripts + + systemctl disable NetworkManager + systemctl disable NetworkManager-dispatcher + systemctl disable NetworkManager-wait-online + systemctl enable network-scripts + + touch /etc/sysconfig/disable-deprecation-warnings \ No newline at end of file