Toastie 979b954258 removed admin from sudo as already covered with custom config | 3 months ago | |
---|---|---|
legacy | 1 year ago | |
.gitignore | 2 years ago | |
MIGRATION-NAS.md | 5 months ago | |
README.md | 3 months ago | |
bootstrap-bookworm.sh | 3 months ago | |
config-get-netconf-eth0.sh | 1 year ago | |
config.sh.template | 1 year ago | |
install_docker.sh | 5 months ago | |
install_kvm.sh | 5 months ago | |
prepare_luks.sh | 1 year ago | |
startup.sh | 5 months ago |
The script in this repo bootstraps Debian 12 „Bookworm“. The script may run in a grml live environment. Design decisions and usage instructions are outlined in the beginning of the script.
git clone https://git.in-ulm.de/ulpeters/bootstrap.git
cd bootstrap
cp config.sh.template config.sh
vi config.sh
./bootstrap-bookworm.sh install
# reboot
# run as root
/installer/bootstrap-bookworm.sh postinstall
Start ssh
, with a capital S to start the ssh serverpasswd
to change the root passwordconfig.sh
To prepare a qemu disk as installation target run following commands and set disk=/dev/nbd0
in config.sh
:
if ! lsmod | grep -q nbd; then sudo modprobe nbd max_part=8; fi # load nbd if missing
img="/var/lib/libvirt/images/ts-linux-testing.qcow2"
qemu-img create -f qcow2 -o size=20G $img # create image
chown libvirt-qemu:libvirt-qemu $img # make accessable for qemu
qemu-nbd -c /dev/nbd0 $img # create device from image
qemu-nbd -d /dev/nbd0 # release device, after the installation is completed
partition=mbr-single
, recommended for small VMs, will prepare
partition=efi-single
, recommended for small physical servers, will prepare
When the kernel reports missing
apt install firmware-linux
apt install wireless-regdb