No Description

Toastie 4b7bb76ae5 exit on error 1 year ago
.gitignore 1719c8edc6 initial 2 years ago
README.md 09ec8dd2b5 upgraded to bookworm 1 year ago
bookworm.sources.list 950ac12a80 chmod -x 2 years ago
bootstrap-bookworm.sh 14670bbec1 added comment to systemd-resolve config 1 year ago
bootstrap-bullseye.sh dd17f4eb77 fixed journald config 1 year ago
config-get-netconf-eth0.sh 692cefc257 fixed permisison and docu 1 year ago
config.sh.template af47c90725 added option for extra packages 2 years ago
install_docker.sh 4b7bb76ae5 exit on error 1 year ago

README.md

bootstrap

The script in this repo bootstraps Debian bookworm from a grml live environment. Design decisions and usage instructions are outlined in the beginning of the script.

Prepare qemu images

img="/var/lib/libvirt/images/ts-linux-testing.qcow2"
qemu-img create -f qcow2 -o size=20G $img  # create image
qemu-nbd -c /dev/nbd0 $img  # create device from image
qemu-nbd -d /dev/nbd0       # release device

Usage

# boot grml
# - press e to setup network if neccessary
# - press Return to run a shell
# - Run the command Start ssh , with a capital S to start the ssh server
# - passwd to change the root password
git clone https://git.in-ulm.de/ulpeters/bootstrap.git
cd bootstrap
cp config.sh.template config.sh
# ./config-get-netconf-eth0.sh to copy running grml network config
vi config.sh
./bootstrap-bookworm.sh install
# reboot
# run as root
/installer/bootstrap-bookworm.sh postinstall

Remarks

  • Make sure to boot grml for amd64