How to Set/Get UUID for a NIC

Ed Greshko Ed.Greshko at greshko.com
Wed Jan 9 06:09:12 UTC 2013


On 01/09/2013 10:55 AM, Khemara Lyn wrote:
> Dear All,
>
> Sorry if this had been covered before.
>
> How can I set or get the UUID for a NIC? I have installed new system, initially with a single NIC; now I've added another NIC and would like to create a new UUID to be used in the new network-script file (e.g. ifcfg-em2).
>
> I did some searches over Google and found related topics on hard disk partitions only (such as blkid /dev/sda1, ls -l /dev/disk/by_uuid); but none of the them covers the UUID for a NIC.
>
> I understand that, we can create a new network-script file without the UUID. However, i'm still curious of how it can be done.
>
> Thanks in advance for any help or comment.
>
>

Simply run uuidgen to create one


-- 
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled


More information about the users mailing list