Open kasimon opened 6 years ago
Hello, we ran into this and decided to fix it in snf-image-creator: https://github.com/grnet/snf-image-creator/commit/1f8678173983305aeeb8210e29e233efe9064d63 The tool that creates the images and not snf-image which is responsible to create ganeti instances out of images.
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:
and recreate the initramfs with