|
@@ -1,6 +1,14 @@
|
|
|
#!/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
|
|
@@ -85,7 +93,6 @@ EOL
|
|
|
# Configure hostname
|
|
|
echo "127.0.0.1 $hostname" >> /etc/hosts
|
|
|
echo $hostname > /etc/hostname
|
|
|
-
|
|
|
}
|
|
|
|
|
|
install(){
|