++ netboot devuan script base

This commit is contained in:
Nico Schottelius 2019-12-09 19:43:41 +01:00
parent 678d1bec02
commit be9616a17f
1 changed files with 19 additions and 0 deletions

19
devuan-netboot.sh Normal file
View File

@ -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