Bellow is part of ks.cfg outside of %pre
Code: Select all
# Network information network --bootproto=static --device=eth0 --gateway=10.8.25.1 --ip=10.8.25.230 --nameserver=126.96.36.199,188.8.131.52 --netmask=255.255.255.0 --ipv6=auto --activate network --bootproto=dhcp --device=eth1 network --bootproto=dhcp --device=eth2 network --bootproto=dhcp --device=eth3 network --hostname=localhost.localdomain
Now everything works fine if system boots in legecy mode, but as soon as I try UEFI mode
the network configuration part does not work and creates a device named ens33.
I am still new with centOS install process so I don't know at which staze network is being
initialized and how to avoid it create my custom interfaces with names like eth0/eth1..
UPDATE: Sorry it was a silly mistake from my side. Resolved it with "biosdevname=0 logo.nologo" in grub conf.