OCI: Oracle Linux 9 Instance Looses the Network Configuration every 24 Hours
Applies to
Oracle Cloud Infrastructure
Oracle Linux
Symptoms
An Oracle Linux 9 system that boots via iPXE, default in OCI, which normally have the dhcp module automatically added in the initramfs via dracut, such a system will normally get an ip address assigned during boot.
However, after 24 hours that ip address is lost.
Cause
The Network Manager service was disabled
$ systemctl enable NetworkManager-wait-online.service * NetworkManager-wait-online.service - Network Manager Wait Online Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: man:nm-online(1)
$ systemctl status NetworkManager * NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:NetworkManager(8)
Tagged:
0