Generate UUID for Network Interface for CentOS


UUIDs (Universal Unique Identifier) for network interface card can be generated quite easily using the command “uuidgen”. For example

% uuidgen eth0
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

You can go to /etc/sysconfig/network-sscripts/ifcfg-eth0

.....
.....
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
.....
.....

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.