Product Line: VERDE
Specific to VERDE (rpm's), the Network Interface must be named the same across all VERDE servers.
Installing with VERDE rpm's, CENTOS 7.x takes liberties and renames the NIC. Here are instructions on how to configure the name to: etho.
The old naming convention:
To restore the old naming convention, you need to edit the /etc/default/grub file and add net.ifnames=0 biosdevname=0 at the end of the GRUB_CMDLINE_LINUX variable. The modified line should look as follows:
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet net.ifnames=0 biosdevname=0"
Then, test the new configuration to see if no mistake has been made:
# grub2-mkconfig
When the aforementioned runs properly, you'll see a Done
If everything is fine, update the grub2 configuration:
# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-123.9.3.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.9.3.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-eda26f60d4c948d09cd50d9086a87fcc
Found initrd image: /boot/initramfs-0-rescue-eda26f60d4c948d09cd50d9086a87fcc.img
done
Update the network interface configuration file (here the initial interface name was enp2s0 and the new one is eth0):
# cd /etc/sysconfig/network-scripts
# cp ifcfg-enp2s0 ifcfg-eth0
Edit the ifcfg-eth0 file and replace the network interface name in the NAME variable with “eth0“.
After a reboot, everything should be OK.
If VERDE was already installed, rerun the VERDE configuration as follows:
/usr/lib/verde/bin/verde-config -i