diff --git a/build.sh b/build.sh index 5c872f7..fb0d424 100755 --- a/build.sh +++ b/build.sh @@ -268,6 +268,7 @@ chmod 644 "$ROOTFS_DIR/etc/hostname" echo "127.0.1.1 $HOSTNAME" >>"$ROOTFS_DIR/etc/hosts" apply_file 644 '/etc/network/interfaces' +apply_file 644 '/etc/network/interfaces.d/eth0' apply_file 644 '/etc/network/interfaces.d/eth1' ## diff --git a/files/etc/network/interfaces.d/eth0 b/files/etc/network/interfaces.d/eth0 new file mode 100644 index 0000000..768218b --- /dev/null +++ b/files/etc/network/interfaces.d/eth0 @@ -0,0 +1,3 @@ +auto eth0 +allow-hotplug eth0 +iface eth0 inet dhcp