|
@@ -1,14 +1,6 @@
|
|
|
#!/bin/bash -e
|
|
|
#----------
|
|
|
# Interactive installation steps for Debian Bullseye from GRML using debootstrap
|
|
|
-# Setup network in grml
|
|
|
-grmlnetwork(){
|
|
|
-ip link show # list interfaces
|
|
|
-ip addr add 203.0.113.66/24 dev eth0
|
|
|
-ip link set eth0 up
|
|
|
-ip route add default via 203.0.113.1
|
|
|
-echo 1.1.1.1 > /etc/resolv.conf
|
|
|
-}
|
|
|
|
|
|
# Design decisions
|
|
|
# - Add a small file-based swap partition as safety net
|
|
@@ -31,6 +23,16 @@ netNTP="pool.ntp.org"
|
|
|
|
|
|
[ -f ./config.sh ] && source config.sh
|
|
|
|
|
|
+# Setup network in grml
|
|
|
+grmlnetwork(){
|
|
|
+ip link show # list interfaces
|
|
|
+ip addr add $netAddress dev $netDev
|
|
|
+ip link set $netDev up
|
|
|
+ip route add default via §netGateway
|
|
|
+echo nameserver $netDNS1 >> /etc/resolv.conf
|
|
|
+echo nameserver $netDNS2 >> /etc/resolv.conf
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
install(){
|
|
|
#----------
|