diff --git a/elements/slow-network/element-deps b/elements/slow-network/element-deps new file mode 100644 index 00000000..7076aba9 --- /dev/null +++ b/elements/slow-network/element-deps @@ -0,0 +1 @@ +package-installs diff --git a/elements/slow-network/package-installs.yaml b/elements/slow-network/package-installs.yaml new file mode 100644 index 00000000..18f036b7 --- /dev/null +++ b/elements/slow-network/package-installs.yaml @@ -0,0 +1 @@ +NetworkManager: diff --git a/elements/slow-network/pkg-map b/elements/slow-network/pkg-map new file mode 100644 index 00000000..c0fccaa9 --- /dev/null +++ b/elements/slow-network/pkg-map @@ -0,0 +1,10 @@ +{ + "family": { + "redhat": { + "NetworkManager": "NetworkManager" + } + }, + "default": { + "NetworkManager": "" + } +} diff --git a/elements/slow-network/post-install.d/99-modules b/elements/slow-network/post-install.d/99-modules index 70e4b496..76b8a051 100755 --- a/elements/slow-network/post-install.d/99-modules +++ b/elements/slow-network/post-install.d/99-modules @@ -13,4 +13,7 @@ if [ -e "/etc/sysconfig/network" ] ; then # Persistently try to gain a dhcp address grep -v -q '^PERSISTENT_DHCLIENT' /etc/sysconfig/network && echo 'PERSISTENT_DHCLIENT=yes' >> /etc/sysconfig/network + + # since we are running on centos only no need to gate this behind an if statement + systemctl enable NetworkManager.service fi