X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FDEBIAN%2F30-interface;h=db84395f9d404afb022c378d54d4e4d6d84515b2;hp=74c3058bbdcbdd134f25d669d9385dbea564e419;hb=78a1427fc167ccee73d448054a9c40c19d737ed3;hpb=19fcc3931853969ed5aa97897795557d324cae39 diff --git a/fai/config/scripts/DEBIAN/30-interface b/fai/config/scripts/DEBIAN/30-interface index 74c3058..db84395 100755 --- a/fai/config/scripts/DEBIAN/30-interface +++ b/fai/config/scripts/DEBIAN/30-interface @@ -104,6 +104,18 @@ iface $NIC1 inet dhcp iface $NIC1 inet6 auto EOF + elif ifclass LINODE + # NIC1 is wrong, probably because the installer distro + # is stretch and the installed one is buster. + # todo: after upgrading installer to buster, + # try removing this condition + cat > $target/etc/network/interfaces < $target/etc/network/interfaces </etc/initramfs-tools/conf.d/mine <$target/etc/initramfs-tools/conf.d/mine <