Add NetworkManager-config-server to rocky-container
It prevents NetworkManager from automatically running DHCP on unconfigured ethernet devices and allows connections with static IP addresses to be brought up even on ethernet devices with no carrier. This is default in Server or Server with GUI RHEL installations. Change-Id: I15f4a28a257dc1b30f8957fd9ad41aef3c9de385
This commit is contained in:
parent
b197d2c641
commit
14754b21a4
@ -1,6 +1,6 @@
|
||||
FROM docker.io/library/rockylinux:8
|
||||
|
||||
RUN dnf install -y findutils util-linux sudo python3 NetworkManager
|
||||
RUN dnf install -y findutils util-linux sudo python3 NetworkManager NetworkManager-config-server
|
||||
|
||||
RUN systemctl unmask console-getty.service dev-hugepages.mount \
|
||||
getty.target sys-fs-fuse-connections.mount systemd-logind.service \
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM docker.io/rockylinux/rockylinux:9
|
||||
|
||||
RUN dnf install -y findutils util-linux sudo python3 NetworkManager
|
||||
RUN dnf install -y findutils util-linux sudo python3 NetworkManager NetworkManager-config-server
|
||||
|
||||
RUN systemctl unmask console-getty.service dev-hugepages.mount \
|
||||
getty.target sys-fs-fuse-connections.mount systemd-logind.service \
|
||||
|
Loading…
Reference in New Issue
Block a user