[PR #1471] [MERGED] Add alternative mode for System Rescue with 'rootpass' as MAC address #1437

Closed
opened 2026-02-27 14:55:37 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbootxyz/netboot.xyz/pull/1471
Author: @antonym
Created: 6/4/2024
Status: Merged
Merged: 6/4/2024
Merged by: @antonym

Base: developmentHead: antonym/add-mac-pass-1


📝 Commits (1)

  • bc0741f Add alternative mode for System Rescue with 'rootpass' as MAC address

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 roles/netbootxyz/templates/menu/systemrescue.ipxe.j2 (+8 -1)

📄 Description

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.

  • New Menu Entry: Introduces an option labeled "Enable rootpass=MAC_ADDRESS" that allows users to set the 'rootpass' boot parameter to their device's MAC address for easier access.
  • Toggle Functionality: Implements a toggle mechanism that enables or disables the 'rootpass' parameter based on the user's selection from the menu. This is achieved through a conditional check that sets or unsets the rootpass_enabled flag and the params variable accordingly.
  • Dynamic Parameter Setting: Modifies the boot command to dynamically include the rootpass parameter with the MAC address value when the option is enabled by the user.

For more details, open the Copilot Workspace session.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbootxyz/netboot.xyz/pull/1471 **Author:** [@antonym](https://github.com/antonym) **Created:** 6/4/2024 **Status:** ✅ Merged **Merged:** 6/4/2024 **Merged by:** [@antonym](https://github.com/antonym) **Base:** `development` ← **Head:** `antonym/add-mac-pass-1` --- ### 📝 Commits (1) - [`bc0741f`](https://github.com/netbootxyz/netboot.xyz/commit/bc0741f787eb1cc17711ccff330dd03af730d09b) Add alternative mode for System Rescue with 'rootpass' as MAC address ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `roles/netbootxyz/templates/menu/systemrescue.ipxe.j2` (+8 -1) </details> ### 📄 Description 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. - **New Menu Entry**: Introduces an option labeled "Enable rootpass=MAC_ADDRESS" that allows users to set the 'rootpass' boot parameter to their device's MAC address for easier access. - **Toggle Functionality**: Implements a toggle mechanism that enables or disables the 'rootpass' parameter based on the user's selection from the menu. This is achieved through a conditional check that sets or unsets the `rootpass_enabled` flag and the `params` variable accordingly. - **Dynamic Parameter Setting**: Modifies the boot command to dynamically include the `rootpass` parameter with the MAC address value when the option is enabled by the user. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/netbootxyz/netboot.xyz/issues/1441?shareId=fbe09b2b-f200-48de-8916-542859299786). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 14:55:37 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#1437
No description provided.