From 844fa3d534dc03b16a12f5dd9775447394a2529a Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Fri, 4 Sep 2015 09:44:10 -0500 Subject: [PATCH] set 30-interface for dirinstall --- scripts/FAIBASE/30-interface | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/FAIBASE/30-interface b/scripts/FAIBASE/30-interface index b4da4d9..6f6eeaf 100755 --- a/scripts/FAIBASE/30-interface +++ b/scripts/FAIBASE/30-interface @@ -2,7 +2,7 @@ error=0; trap 'error=$(($?>$error?$?:$error))' ERR # save maximum error code -if ifclass DHCPC && [ $FAI_ACTION = "install" ] +if ifclass DHCPC && [ $FAI_ACTION = "dirinstall" ] then cat > $target/etc/network/interfaces <<-EOF # generated by FAI @@ -10,7 +10,7 @@ then iface lo inet loopback iface $NIC1 inet dhcp EOF -elif [ $FAI_ACTION = "install" ] +elif [ $FAI_ACTION = "dirinstall" ] then [ -n "$IPADDR" ] && cat > $target/etc/network/interfaces <<-EOF # generated by FAI -- 2.25.1