debian-atomic-config/treefiles/debian-minimal.yaml
2025-08-26 10:16:43 -07:00

84 lines
1.5 KiB
YAML

# Debian Minimal treefile for apt-ostree compose tree
# This defines a minimal Debian Trixie system with apt-ostree
# OSTree repository configuration
ostree:
ref: debian/14/x86_64/minimal
repo: /tmp/apt-ostree/debian/repo
# Base system (required)
base: debian:trixie
# APT package sources
apt:
sources:
- "deb http://deb.debian.org/debian trixie main contrib non-free"
- "deb http://deb.debian.org/debian-security trixie-security main contrib non-free"
# Packages to install
packages:
# Base system packages
- systemd
- systemd-sysv
- dbus
- dbus-user-session
- policykit-1
- polkitd
- sudo
- passwd
- bash
- coreutils
- util-linux
- procps
- sysvinit-utils
# OSTree support
- ostree
- apt-ostree
# Essential utilities
- less
- vim-tiny
- wget
- curl
- ca-certificates
- gnupg
# Basic networking
- iproute2
- net-tools
- openssh-client
- openssh-server
# System tools
- htop
- rsync
- tar
- gzip
- unzip
# System configuration
system:
hostname: debian-minimal
keyboard: us
locale: en_US.UTF-8
timezone: UTC
# Enable systemd services
services:
- systemd-networkd
- systemd-resolved
- ssh
# Create basic directory structure
directories:
- /etc/apt-ostree
- /var/lib/apt-ostree
- /usr/lib/bootc
- /root/.ssh
# Post-installation scripts (optional)
postinstall:
- echo "apt-ostree Debian minimal system created successfully"
- echo "OSTree ref: debian/14/x86_64/minimal"
- echo "System is ready for headless operation"