- Update build script to use Debian 13 trixie - Update APT sources for Debian 13 - Update documentation references to Debian 13 - Update compliance standards to include CMMC Level 3 This upgrade provides: - Latest security patches - Improved kernel hardening capabilities - Enhanced package management - Better compatibility with modern security standards References: - CIS Debian 13 Benchmark - CMMC Level 3 - FedRAMP Moderate 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush <crush@charm.land>
25 lines
608 B
Bash
Executable File
25 lines
608 B
Bash
Executable File
#!/bin/bash
|
|
# Debootstrap preseed configuration for minimal Debian installation
|
|
|
|
# Non-interactive frontend
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Minimal base system without recommended packages
|
|
cat << 'EOF' > /usr/local/sbin/debootstrap-minimal
|
|
#!/bin/bash
|
|
# Arguments: SUITE TARGET MIRROR
|
|
set -e
|
|
|
|
SUITE=${1:-bookworm}
|
|
TARGET=${2}
|
|
MIRROR=${3:-http://deb.debian.org/debian}
|
|
|
|
echo "Bootstrapping minimal Debian $SUITE (Debian 13 Trixie recommended)..."
|
|
|
|
debootstrap --variant=minbase --arch=amd64 $SUITE $TARGET $MIRROR
|
|
|
|
echo "Minimal bootstrap complete."
|
|
EOF
|
|
|
|
chmod +x /usr/local/sbin/debootstrap-minimal
|