This Bash script generates Debian ISOs with preseed for multiple environments. With this script, you can automate the process of generating custom Debian images with preconfigured settings for various environments.
To use this script, you need to install the following packages:
$ sudo apt install wget curl p7zip-full genisoimage syslinux-utils
To use this script, follow these steps:
-
Clone this repository using Git:
$ git clone https://github.com/bergmann-max/debain-preseed-iso-generator.git
-
Navigate to the cloned directory:
$ cd debain-pressed-iso-generator
-
Put your
preseed.cfg
files in theDMZ
andINSIDE
directories. -
Make the script executable:
$ chmod +x debian-preseed-iso-generator.sh
-
Run the script:
$ ./debian-preseed-iso-generator.sh
-
After the script has finished running, you will find the generated ISO images in the
DMZ
andINSIDE
directories, respectively. These ISOs contain the preconfigured settings specified in thepreseed.cfg
files.
That's it! Now you can use the generated ISOs to install Debian on multiple machines with the same preconfigured settings.