Skip to content

Instantly share code, notes, and snippets.

@jdburcham
jdburcham / preseed.cfg-template
Last active July 3, 2023 05:28
Preseed preconfiguration file (for Debian bullseye)
#### Preseed preconfiguration file (for Debian bullseye)
# https://serverfault.com/questions/1077958/preseeding-debian-11-fully-unattended-get-rid-of-questions
# Debian 11 Fully Automated UEFI LVM LUKS BTRFS Remote Decrypt via ssh DEBUG # TTY4
### Partman early command
### Kernel parameter
#d-i debian-installer/add-kernel-opts string net.ifnames=0 biosdevname=0 hostname=unassigned-hostname domain=unassigned-domain
#d-i debconf/priority critical
@jdburcham
jdburcham / make-debian-iso.sh
Created July 2, 2023 00:05 — forked from palacaze/make-debian-iso.sh
A script to create a preseeded Debian ISO
#!/bin/bash
# This script creates a Preseeded Debian buster ISO installer.
# The preseeded file must have been filled beforehand.
debian_iso_url="https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.4.0-amd64-netinst.iso"
debian_preseed_cfg="$(dirname "$0")/debian-buster-preseed.cfg"
debian_iso_file="$(basename ${debian_iso_url})"
debian_iso_preseeded="preseeded-${debian_iso_file}"
#!/bin/sh
# THIS IS A TEST SCRIPT
#This script downloads Debians's iso and makes it auto-install
#Requires:
# - 'xorriso' installed
# sudo apt install xorriso
@jdburcham
jdburcham / installer.sh
Last active June 30, 2023 01:29 — forked from unique1984/installer.sh
OpenZFS - ZFS as a Root File System on Debian Bullseye
#!/usr/bin/env bash
###########################################################################################################
# Bash Script of this Documentation :
# https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html#debian-bullseye-root-on-zfs
#
# *********** Forked this to make prenotes for expansion **************** - JDBurcham
#
# What I'm doing:
# I really don't like using default installers or the option of preseeding. My goal is to take this script
# and pack it with every possible install option, have a guided default you can press "enter" though, but