Skip to content

Alpine installer will not boot with a static IP on interface index other than 0 #1599

Open
@richardstephens

Description

@richardstephens

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions