From bd7a03327133614451297aa0edcfefbdc96528b4 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Tue, 25 Jan 2022 16:07:28 +0100 Subject: [PATCH] add interfaces for eth0 --- bootstrap.sh | 1 + files/eth0 | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 files/eth0 diff --git a/bootstrap.sh b/bootstrap.sh index 71b2774..6cc20f2 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -63,6 +63,7 @@ build_rootfs() sudo cp ../files/sources.list etc/apt/sources.list sudo cp ../files/hosts etc/hosts sudo cp ../files/quickstart.txt root/ + sudo cp ../files/eth0 etc/network/interfaces.d/ sudo bash -c 'chroot . apt update' sudo bash -c 'chroot . apt install -y firmware-linux' diff --git a/files/eth0 b/files/eth0 new file mode 100644 index 0000000..81922ce --- /dev/null +++ b/files/eth0 @@ -0,0 +1,2 @@ +auto eth0 +iface eth0 inet dhcp -- 2.39.5