Automatic Debian install – How to use simple-cdd
We look into how to install and use simple-cdd to create a new Bookworm install image fully automated with no input from the user during install.
Git repository
https://github.com/kalaspuffar/simple-cdd-bookworm
Nice video!
I really liked the part about the hashed password, which I wasn’t yet aware about.
You mentioned that you need to use a Bookworm system to create Bookworm images. That’s true, but it happens too often that the user actually is running a different OS version. The first time I used Simple-CDD was on Ubuntu 20.04, while I wanted to create Debian Bullseye images. That was a total nightmare tbh.
One solution is to use a Docker container. I created some documentation to guide through this process for Simple-CDD: https://swvanbuuren.github.io/simple-cdd-yaml/build-images/build-in-docker/
I also rather prefer to use Qemu instead of VirtualBox and I like my images to support UEFI. So I also made a guide that shows how to do that for Simple-CDD images: https://swvanbuuren.github.io/simple-cdd-yaml/build-images/test-on-qemu-with-uefi/
These guides are part of the documentation of the tool Simple-CDD-YAML that I created. It’s a preprocessor for Simple-CDD using YAML input files, that aims to make it easier to reuse scripts, preseeds and recipes.