From e66486fdbd0783108993e16572d928c00d2d5203 Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Thu, 6 Jul 2017 21:01:16 +0000 Subject: [PATCH] Add interface eth0 --- build.sh | 1 + files/etc/network/interfaces.d/eth0 | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 files/etc/network/interfaces.d/eth0 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