{ "version": "2", "pipelines": [ { "name": "build", "runner": "org.osbuild.linux", "stages": [ { "name": "org.osbuild.debian.sources", "options": { "suite": "trixie", "mirror": "https://deb.debian.org/debian", "components": ["main", "contrib", "non-free"], "additional_sources": [ "deb https://deb.debian.org/debian-security trixie-security main contrib non-free", "deb https://deb.debian.org/debian-updates trixie-updates main contrib non-free" ] } }, { "name": "org.osbuild.debian.debootstrap", "options": { "suite": "trixie", "mirror": "https://deb.debian.org/debian", "variant": "minbase", "arch": "amd64", "components": ["main", "contrib", "non-free"] } }, { "name": "org.osbuild.debian.apt", "options": { "packages": [ "ostree", "bootc", "systemd", "systemd-sysv", "linux-image-amd64", "grub2-efi-amd64", "grub2-common", "efibootmgr", "sudo", "openssh-server", "curl", "wget", "vim", "less", "locales", "ca-certificates", "tzdata", "net-tools", "iproute2", "resolvconf", "firmware-linux", "firmware-linux-nonfree", "initramfs-tools" ], "update": true, "clean": true } }, { "name": "org.osbuild.debian.locale", "options": { "language": "en_US.UTF-8", "additional_locales": ["en_GB.UTF-8", "de_DE.UTF-8", "fr_FR.UTF-8"], "default_locale": "en_US.UTF-8" } }, { "name": "org.osbuild.debian.timezone", "options": { "timezone": "UTC" } }, { "name": "org.osbuild.debian.users", "options": { "users": { "debian": { "password": "$6$rounds=656000$salt$hashedpassword", "shell": "/bin/bash", "groups": ["sudo", "users", "adm"], "uid": 1000, "gid": 1000, "home": "/home/debian", "comment": "Debian User" }, "admin": { "password": "$6$rounds=656000$salt$hashedpassword", "shell": "/bin/bash", "groups": ["sudo", "users", "adm", "wheel"], "uid": 1001, "gid": 1001, "home": "/home/admin", "comment": "Administrator" } }, "default_shell": "/bin/bash", "default_home": "/home" } }, { "name": "org.osbuild.debian.systemd", "options": { "enable_services": [ "ssh", "systemd-networkd", "systemd-resolved" ], "disable_services": [ "systemd-firstboot", "systemd-machine-id-commit" ], "mask_services": [ "systemd-remount-fs", "systemd-machine-id-commit" ], "config": { "DefaultDependencies": "no", "DefaultTimeoutStartSec": "0", "DefaultTimeoutStopSec": "0" } } }, { "name": "org.osbuild.debian.bootc", "options": { "enable": true, "config": { "auto_update": true, "rollback_enabled": true }, "kernel_args": [ "console=ttyS0", "console=tty0", "root=UUID=ROOT_UUID", "quiet", "splash" ] } }, { "name": "org.osbuild.debian.grub2", "options": { "root_fs_uuid": "ROOT_UUID", "kernel_path": "/boot/vmlinuz", "initrd_path": "/boot/initrd.img", "bootloader_id": "debian", "timeout": 5, "default_entry": "0" } }, { "name": "org.osbuild.debian.ostree", "options": { "repository": "/var/lib/ostree/repo", "branch": "debian/trixie/x86_64/standard", "subject": "Debian Trixie OSTree System", "body": "Complete Debian OSTree system with GRUB2 and bootc" } } ] } ], "assembler": { "name": "org.osbuild.debian.qemu", "options": { "format": "qcow2", "filename": "debian-trixie-ostree.qcow2", "size": "20G", "ptuuid": "12345678-1234-1234-1234-123456789012" } } }