[PR #1470] [CLOSED] Add alternative mode for System Rescue with 'rootpass' as MAC address #2978

Closed
opened 2026-03-01 18:42:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

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

Base: developmentHead: antonym/add-mac-pass


📝 Commits (1)

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

📊 Changes

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

View changed files

📝 roles/netbootxyz/templates/menu/systemrescue.ipxe.j2 (+6 -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 toggle the 'rootpass' parameter to the MAC address of the device.
  • Conditional Logic: Implements conditional logic to enable or disable the 'rootpass' parameter based on the user's selection from the new menu entry.
  • Parameter Passing: Modifies the boot command to include the 'rootpass' parameter when enabled, ensuring the root password is set to the device's MAC address for easier access.

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/1470 **Author:** [@antonym](https://github.com/antonym) **Created:** 6/4/2024 **Status:** ❌ Closed **Base:** `development` ← **Head:** `antonym/add-mac-pass` --- ### 📝 Commits (1) - [`a8b1043`](https://github.com/netbootxyz/netboot.xyz/commit/a8b10434831a84e62cb521d3a8f07aa46031e61a) Add alternative mode for System Rescue with 'rootpass' as MAC address ### 📊 Changes **1 file changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `roles/netbootxyz/templates/menu/systemrescue.ipxe.j2` (+6 -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 toggle the 'rootpass' parameter to the MAC address of the device. - **Conditional Logic**: Implements conditional logic to enable or disable the 'rootpass' parameter based on the user's selection from the new menu entry. - **Parameter Passing**: Modifies the boot command to include the 'rootpass' parameter when enabled, ensuring the root password is set to the device's MAC address for easier access. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/netbootxyz/netboot.xyz/issues/1441?shareId=a21aeddc-a7a4-4e8b-8df6-582a6bf7f7c3). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 18:42:14 +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#2978
No description provided.