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 - How to Change UUID of NetworkManager Connection Profile

Applies To:

Oracle Cloud Infrastructure

Oracle Linux 

Goal

There is a need to change the UUID of a NetworkManager connection profile.

SOLUTION

It is possible to generate a new UUID by utilizing libuuid (This is the universally unique ID library)

Example:

 # uuidgen
ef2e2961-7adf-4bfa-b8fb-4b39339c1cde

Once a new UUID is generated, replace the old one by modifying the UUID field inside the file for the connection by editing it:

/etc/sysconfig/network-scripts/ifcfg-<connection_name>

Example:

# vim /etc/sysconfig/network-scripts/ifcfg-enp0s5


Generated by dracut initrdNAME="enp0s5"
DEVICE="enp0s5"
ONBOOT=yes
NETBOOT=yes
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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