[PR #343] [MERGED] Static IP support #2330

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

📋 Pull Request Information

Original PR: https://github.com/netbootxyz/netboot.xyz/pull/343
Author: @patrakov
Created: 7/13/2019
Status: Merged
Merged: 7/31/2019
Merged by: @antonym

Base: masterHead: static-ip-support


📝 Commits (5)

  • a0e2922 Add static IP support for RedHat variants
  • 082abbb Add static IP support for Arch Linux
  • 77e6a2a Add static IP support for Mageia
  • ea42069 Add static IP support for Alpine Linux
  • 2916f31 Add static IP support for OpenSUSE

📊 Changes

8 files changed (+92 additions, -8 deletions)

View changed files

📝 src/alpinelinux.ipxe (+3 -1)
📝 src/archlinux.ipxe (+14 -1)
📝 src/centos.ipxe (+4 -1)
📝 src/fedora.ipxe (+4 -1)
📝 src/mageia.ipxe (+4 -1)
📝 src/opensuse.ipxe (+55 -1)
📝 src/rhel.ipxe (+4 -1)
📝 src/scientific.ipxe (+4 -1)

📄 Description

See #342 but this pull request is not limited to CentOS.

I have verified that all Linux distributions offered by linux.ipxe. Status with the static IP configured via the failsafe menu:

  • Alpine boots correctly only if the first network card is used
  • Arch relies on http://ip.address.of.mirror/ to work (bug reported upstream)
  • Gentoo and IPFire do not boot at all, also before my patches
  • RHEL not tested
  • Everything else in the menu works

Regarding Gentoo, the snapshot offered is very old, and it is possible to use third-party live/rescue Linux systems to install Gentoo anyway. So - maybe drop it?

Regarding rescue tools offered by netboot.xyz, I have not tested them. It's possible that they require similar fixes. However, before working on them, I would like to confirm whether the general approach is OK.

Oh, and there seems to be a variable, ${netcfg}, in Debian-related iPXE files, but I can't find a place where it is set.


🔄 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/343 **Author:** [@patrakov](https://github.com/patrakov) **Created:** 7/13/2019 **Status:** ✅ Merged **Merged:** 7/31/2019 **Merged by:** [@antonym](https://github.com/antonym) **Base:** `master` ← **Head:** `static-ip-support` --- ### 📝 Commits (5) - [`a0e2922`](https://github.com/netbootxyz/netboot.xyz/commit/a0e292249cafcb0cbc3f636000affebfd0a7782a) Add static IP support for RedHat variants - [`082abbb`](https://github.com/netbootxyz/netboot.xyz/commit/082abbb69cd13a531679e0db2930175d4ad8201a) Add static IP support for Arch Linux - [`77e6a2a`](https://github.com/netbootxyz/netboot.xyz/commit/77e6a2aa8268503ec6bd14a14fbc45aa178d6b6a) Add static IP support for Mageia - [`ea42069`](https://github.com/netbootxyz/netboot.xyz/commit/ea42069e2182e3ae69af901dd15be50939b4ee66) Add static IP support for Alpine Linux - [`2916f31`](https://github.com/netbootxyz/netboot.xyz/commit/2916f3198226cc3af5265f409721275179d603b4) Add static IP support for OpenSUSE ### 📊 Changes **8 files changed** (+92 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/alpinelinux.ipxe` (+3 -1) 📝 `src/archlinux.ipxe` (+14 -1) 📝 `src/centos.ipxe` (+4 -1) 📝 `src/fedora.ipxe` (+4 -1) 📝 `src/mageia.ipxe` (+4 -1) 📝 `src/opensuse.ipxe` (+55 -1) 📝 `src/rhel.ipxe` (+4 -1) 📝 `src/scientific.ipxe` (+4 -1) </details> ### 📄 Description See #342 but this pull request is not limited to CentOS. I have verified that all Linux distributions offered by linux.ipxe. Status with the static IP configured via the failsafe menu: - Alpine boots correctly only if the first network card is used - Arch relies on http://ip.address.of.mirror/ to work (bug reported upstream) - Gentoo and IPFire do not boot at all, also before my patches - RHEL not tested - Everything else in the menu works Regarding Gentoo, the snapshot offered is very old, and it is possible to [use third-party live/rescue Linux systems to install Gentoo](https://wiki.gentoo.org/wiki/Installation_alternatives#Installation_from_non-Gentoo_LiveCDs) anyway. So - maybe drop it? Regarding rescue tools offered by netboot.xyz, I have not tested them. It's possible that they require similar fixes. However, before working on them, I would like to confirm whether the general approach is OK. Oh, and there seems to be a variable, ${netcfg}, in Debian-related iPXE files, but I can't find a place where it is set. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 18:39:40 +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#2330
No description provided.