I know this is probably a dumb question. But for some reason, I'm just not seeing it.
I've been searching for it, an I have found some stuff.
I know I need to add "net.ifnames=0" and "biosdevname=0" somewhere. But where?
I want the machines to pxe/kickstart/install with the interface as "eth0" not "enp0s25"
What am I missing?
Thanks for reading.
Changing to "old" interface naming during pxeboot/kickstart
-
- Posts: 171
- Joined: 2017/02/07 21:47:51
Re: Changing to "old" interface naming during pxeboot/kickstart
On the kernel command line. It's a FAQ - http://wiki.centos.org/FAQ
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
- KernelOops
- Posts: 428
- Joined: 2013/12/18 15:04:03
- Location: xfs file system
Re: Changing to "old" interface naming during pxeboot/kickstart
In CentOS 7, you need to modify this file: /etc/default/grub
Then edit the line:
Then edit the line:
Code: Select all
GRUB_CMDLINE_LINUX="crashkernel=auto rhgb console=ttyS0,19200n8 net.ifnames=0"
--
R.I.P. CentOS
--
R.I.P. CentOS
--
Re: Changing to "old" interface naming during pxeboot/kickstart
The question is about PXE boot, not about ordinary CentOS.KernelOops wrote:In CentOS 7, ...
PXE boot receives from DHCP info about a TFTP server that has syslinux and kernel(s).
The syslinux has a menu (similar to GRUB). If one sets up default TFTP&syslinux on CenOS
server, then menu is usually in file /var/lib/tftpboot/pxelinux.cfg/default
Commad line options, like the kickstart, are stored in that file.
PS. The syslinux above is for legacy BIOS PXE. UEFI PXE has slightly different details.
You have set up the PXE and kickstart, have you not? Then you know where your TFTP share is.supertight wrote:I know I need to add "net.ifnames=0" and "biosdevname=0" somewhere. But where?