++ netboot devuan script base
This commit is contained in:
parent
678d1bec02
commit
be9616a17f
1 changed files with 19 additions and 0 deletions
19
devuan-netboot.sh
Normal file
19
devuan-netboot.sh
Normal 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
|
Loading…
Reference in a new issue