{{- $architecture := or .architecture "amd64" -}} {{- $suite := or .suite "bullseye" -}} {{ $image := or .image (printf "debian_full-%s-%s.tgz" $suite $architecture) }} architecture: {{ $architecture }} actions: - action: debootstrap suite: {{ $suite }} components: - main mirror: http://deb.debian.org/debian # variant: minbase - action: apt recommends: false packages: - adduser - sudo - systemd-container - net-tools - htop - vim-nox - tmux - action: run description: Set hostname chroot: true command: echo debian-{{ $suite }}-{{ $architecture }} > /etc/hostname - action: pack file: {{ $image }} compression: gz