Persistent Network in CentOS
Persistent Network in CentOS
Hi, i want to know two thins. First in CentOS 6 when we change a card network and want to reset the identification os system, we just delete the /etc/udev/rules.d/70-persistent-net.rules, restart the system and its redefined, in CentOS 7 how can i do this ? Second how i can find the UUID of a network card ?
Re: Persistent Network in CentOS
Hello
Try using grep to find the UUID
or as per tip on Stackoverflow:
Then try grep the `usr/lib/udev/rules.d/` directory to see which file has the UUID
Try using grep to find the UUID
Code: Select all
grep /etc/sysconfig/network-scripts/ifcfg-<device>
Code: Select all
egrep --color 'pattern|$' file