You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: Oracle Linux 9 Instance Looses the Network Configuration every 24 Hours

in Linux 2 comments

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)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!