Kickstart files and MAC-addresses

Grant Huddlestone

New Member
Jul 10, 2019
1
0
1
52
Stumbled across something interesting last week that took me a while to understand.

I have a number of VMs that use PXE-boot to install Centos7.

I serve custom kickstart files from a local tftp server. Part of the kickstart file has an %include section that points to a local http server by a domain name (not IP address).

Some of the anaconda installs would not start and give an error message about the domain name not resolving in the kickstart file. This appeared to be random and was consistent across reboots for the affected server. It never started the anaconda install.

I looked at firewalls, dns server and many other possible contributing factors until I noticed something,

The install would only fail for VMs that had network adapters with MAC-addresses that started with the letter 'F'.

Not only that, if any network adapter attached to the VM started with F the anaconda installation would fail, it didn't have to be the one that was associated with the network that the http server was connected to.

Note: It is expected behaviour that the NIC is cycled just before the anaconda installation starts.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!