Install NetworkManager to ensure consistent network bringup on centos
Sets up and enables NetworkManager. In testing this was the only way to get the network to come up after reboots on centos. Change-Id: Iac8d982977982d886b29a8933b59dd3f55578769
This commit is contained in:
parent
0421a02e0c
commit
e5b4d98f81
1
elements/slow-network/element-deps
Normal file
1
elements/slow-network/element-deps
Normal file
@ -0,0 +1 @@
|
||||
package-installs
|
1
elements/slow-network/package-installs.yaml
Normal file
1
elements/slow-network/package-installs.yaml
Normal file
@ -0,0 +1 @@
|
||||
NetworkManager:
|
10
elements/slow-network/pkg-map
Normal file
10
elements/slow-network/pkg-map
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"family": {
|
||||
"redhat": {
|
||||
"NetworkManager": "NetworkManager"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"NetworkManager": ""
|
||||
}
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user