From be9616a17f25e263656021bab4183de1f3a90f2f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 9 Dec 2019 19:43:41 +0100 Subject: [PATCH] ++ netboot devuan script base --- devuan-netboot.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 devuan-netboot.sh diff --git a/devuan-netboot.sh b/devuan-netboot.sh new file mode 100644 index 0000000..c47c92b --- /dev/null +++ b/devuan-netboot.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# Nico Schottelius, 2019-12-09 + + +date=$(date +%F) +suite=ascii + +dir=${suit}-${date} + +debootstrap "${suite}" "${dir}" +chroot ${dir} apt install -y openssh-server rdnssd + +cat > ${dir}/etc/network/interfaces << EOF +auto lo +iface lo inet loopback + +auto eth0 +iface eth0 inet6 auto +EOF