Add more packages to the container.

This commit is contained in:
Andreas B. Mundt 2021-11-18 20:20:28 +01:00 committed by Andreas B. Mundt
parent 245c08c125
commit 0c48d933e7
2 changed files with 26 additions and 2 deletions

View file

@ -0,0 +1,24 @@
## generate most of this list with 'tasksel --task-packages standard'
cont_packages:
- systemd-container
- openssh-server
- sudo
- python3
- auto-apt-proxy
- bash-completion
- bind9-dnsutils
- file
- locales
- xz-utils
- lsof
- wget
- bind9-host
- man-db
- ca-certificates
- manpages
- libc-l10n
- traceroute
- bzip2
- netcat-traditional
- telnet

View file

@ -58,11 +58,11 @@
- debootstrap - debootstrap
state: latest state: latest
- name: debootstrap minimal system - name: debootstrap base system
command: command:
cmd: > cmd: >
debootstrap debootstrap
--include=systemd-container,openssh-server,sudo,python3,auto-apt-proxy --include={{ cont_packages | join(',') }}
--components=main,contrib,non-free stable --components=main,contrib,non-free stable
{{ contname }}00 http://deb.debian.org/debian {{ contname }}00 http://deb.debian.org/debian
args: args: