X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fscripts%2FDEBIAN%2F30-interface;h=f23d1eaf62a5d0e6ccd317fc8df9ed6290bd04a6;hp=db84395f9d404afb022c378d54d4e4d6d84515b2;hb=d4f7a9349a08f60957ca544f3d68a9b97015f6b9;hpb=78a1427fc167ccee73d448054a9c40c19d737ed3 diff --git a/fai/config/scripts/DEBIAN/30-interface b/fai/config/scripts/DEBIAN/30-interface index db84395..f23d1ea 100755 --- a/fai/config/scripts/DEBIAN/30-interface +++ b/fai/config/scripts/DEBIAN/30-interface @@ -93,7 +93,7 @@ case "$FAI_ACTION" in elif [ -d $target/etc/network/interfaces.d ]; then # ifupdown >= 0.7.41 (Debian >= 8, Ubuntu >= 14.04) - if ifclass VM || ifclass LINODE; then + if ifclass VM; then # note, this condition would apply to the elif below too, # but I don't specify a static ip in fai, so not bothering cat > $target/etc/network/interfaces <<-EOF @@ -104,7 +104,7 @@ iface $NIC1 inet dhcp iface $NIC1 inet6 auto EOF - elif ifclass LINODE + 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,