[GH-ISSUE #1599] Alpine installer will not boot with a static IP on interface index other than 0 #530

Open
opened 2026-02-27 14:52:07 +03:00 by kerem · 0 comments
Owner

Originally created by @richardstephens on GitHub (Mar 20, 2025).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1599

[yes]: This bug persists when memory is increased beyond 8GB.

Describe the bug

When netboot passes static IP configuration to Alpine, the interface index appears to be hardcoded to eth0, even if a different interface was selected.

To Reproduce

  1. Set-up a multi-NIC system with the first NIC disconnected, and the second requiring DHCP
  2. Boot netboot and enter IP configuration
  3. Select Alpine (3.21) installer

Libvirt VM config
libvirt-domain-netboot.txt
libvirt-network-netboot.txt

Expected behavior

Alpine installer image should boot normally. Instead it boots to the recovery shell

Screenshots

VM IP configuration
Alpine failure screen
Alpine cmdline and configuration applied to incorrect interface

Additional context

Reproduced on both a physical system and a VM, and with both BIOS and UEFI booting.

Issue only occurs if DHCP is not available.

I have not tested a wide range of images to see if others are affected, but Debian appears to work fine with the same setup.

Originally created by @richardstephens on GitHub (Mar 20, 2025). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1599 [yes]: This bug persists when memory is increased beyond 8GB. <!-- Please validate that the issue is not a symptom of insufficient memory. Many installation media are based on live-cd images that require more than a few MB/GB of memory to run. --> **Describe the bug** <!-- A clear and concise description of what the bug is. --> When netboot passes static IP configuration to Alpine, the interface index appears to be hardcoded to eth0, even if a different interface was selected. **To Reproduce** 1. Set-up a multi-NIC system with the first NIC disconnected, and the second requiring DHCP 2. Boot netboot and enter IP configuration 3. Select Alpine (3.21) installer Libvirt VM config [libvirt-domain-netboot.txt](https://github.com/user-attachments/files/19372330/libvirt-domain-netboot.txt) [libvirt-network-netboot.txt](https://github.com/user-attachments/files/19372332/libvirt-network-netboot.txt) **Expected behavior** <!-- A clear and concise description of what the bug is. --> Alpine installer image should boot normally. Instead it boots to the recovery shell **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> ![VM IP configuration](https://github.com/user-attachments/assets/6e382081-9677-421b-b648-095fc9b5346d) ![Alpine failure screen](https://github.com/user-attachments/assets/d4a530c6-b341-433a-93a3-9e04e971674d) ![Alpine cmdline and configuration applied to incorrect interface](https://github.com/user-attachments/assets/70f5c4ca-82e7-41d9-8b31-8bd2a56f9eaa) **Additional context** <!-- Add any other context about the problem here. --> Reproduced on both a physical system and a VM, and with both BIOS and UEFI booting. Issue only occurs if DHCP is not available. I have not tested a wide range of images to see if others are affected, but Debian appears to work fine with the same setup.
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#530
No description provided.