netbootxyz / netboot.xyz

Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
https://netboot.xyz
Apache License 2.0
8.47k stars 651 forks source link

Add alternative mode for System Rescue with 'rootpass' as MAC address #1471

Closed antonym closed 1 month ago

antonym commented 1 month ago

Related to #1441

Adds a new menu entry to the System Rescue CD Tools menu in roles/netbootxyz/templates/menu/systemrescue.ipxe.j2 to enable setting the 'rootpass' boot parameter to the device's MAC address.


For more details, open the Copilot Workspace session.

lars18th commented 2 weeks ago

Hi @antonym ,

Thank you for incorporating my idea suggested in #1440 .

However, the current implementation prints in the screen menu Enable rootpass=MAC_ADDRESS. While the idea is to print the current MAC address: Enable rootpass=00aabbcc1122. You can check my original dirty implementation in https://github.com/lars18th/netboot.xyz-custom/blob/master/custom.ipxe

This has sense because with multiple NICs the MAC ADDRESS could not be clear.

I hope you will want to improve this. Regards.

lars18th commented 1 week ago

ping @antonym