File: dhcp-all-interfaces-debian-issue-2ec7f1a5186f0b16.yaml

package info (click to toggle)
python-diskimage-builder 3.37.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,572 kB
  • sloc: sh: 7,380; python: 6,444; makefile: 37
file content (20 lines) | stat: -rw-r--r-- 1,228 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
issues:
  - |
    The dhcp-all-interfaces element attempts to work with "predictable
    interface names". During boot the name of the interfaces is changed from
    ethX to the new scheme, for example enpXsX; depending on the Linux kernel
    this move may be captured by udev as an "add" or "move" event. The
    dhcp-all-interfaces udev rule has been updated to match against both
    possible events. If you prefer to not use predictable names your image
    builds can set DIB_BOOTLOADER_DEFAULT_CMDLINE with net.ifnames=0 or mask
    the default policy with `ln -s /dev/null /etc/systemd/network/99-default.link`.
    This process is documented by systemd:
    https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

    Note that this update reverts previous changes to disable predictable
    interface names completely when using dhcp-all-interfaces. Predictable
    device names were disabled in an effort to make dhcp-all-interfaces
    function on Debian Bullseye, but this broke any users that wished to
    use predictable device names. Instaed we make predictable device names
    work on Debian Bullseye and allow users to disable predictable device
    names should they choose to.