-
Notifications
You must be signed in to change notification settings - Fork 12
Description
In
https://github.com/grnet/snf-image/blob/develop/snf-image-helper/networking/ifupdown.sh.in
the network interface name is hardcoded as eth$index. This conflicts with the new interface naming scheme in debian 9, where interfaces get names like ens0 or enp1s1 instead of eth0, eth1, ... This behavior is described in section 2.2.9 of the release notes: https://www.debian.org/releases/stretch/amd64/release-notes/ch-whats-new.en.html#new-interface-names, which links to a more in depth description on freedesktop.org: https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
I'm not sure what's the best way to handle this, probably for now the easiest way would be to disable the new naming scheme by setting a symlink as descripted in the freedesktop description:
ln -s /dev/null /etc/systemd/network/99-default.link
and recreate the initramfs with
update-initramfs -u