Update live-netdev to alternatively use a given mac address for the active network device.
Background: Legacy has IPAPPEND 2 to force a device in grml. UEFI does not have this mechanism. So we need an alternative for machines with mulitple network devices. Some motherboards swap the device names so eth0 becomes eth1. And then the live-netdev=eth0 fails.
It takes the mac, checks which device name this mac has and uses the device name then to fire up the network connection.
format is "live-netdev=xx:xx:xx:xx:xx:xx"
This patch was developed by Thomas Toka / Serverman Webhosting.
Thanks to @mika for the hints to find the relevant code.
Sorry for taking so long to actually take care of it, thanks for your PR! Just merged and will be uploaded soonish, so Grml daily ISOs as of 2023-09-09 should include it! Thanks again! :+1:
Update live-netdev to alternatively use a given mac address for the active network device.
Background: Legacy has IPAPPEND 2 to force a device in grml. UEFI does not have this mechanism. So we need an alternative for machines with mulitple network devices. Some motherboards swap the device names so eth0 becomes eth1. And then the live-netdev=eth0 fails.
It takes the mac, checks which device name this mac has and uses the device name then to fire up the network connection.
format is "live-netdev=xx:xx:xx:xx:xx:xx"
This patch was developed by Thomas Toka / Serverman Webhosting.
Thanks to @mika for the hints to find the relevant code.