+
+ elif ifclass LINODE; then
+ # 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 <<EOF
+# generated by FAI
+auto lo $linode_if
+iface lo inet loopback
+iface $linode_if inet dhcp
+iface $linode_if inet6 auto
+EOF
+