Sync additional apt config from the host to the container base image

Debian bookworm needs the sources.list.d and mirrors directory
syncing to the container image to result in a working apt config.

Change-Id: I0c62340e7868948d9c55c96559ddafadf8cb7db1
This commit is contained in:
Jonathan Rosser 2023-09-11 17:02:19 +01:00
parent 22b6df4193
commit b6390ed2d3
1 changed files with 2 additions and 0 deletions

View File

@ -25,10 +25,12 @@ _lxc_cache_map:
release: "{{ ansible_facts['distribution_major_version'] }}"
copy_from_host:
- /etc/apt/sources.list
- /etc/apt/sources.list.d/
- /etc/apt/apt.conf.d/
- /etc/apt/trusted.gpg.d/
- /etc/apt/trusted.gpg
- /etc/apt/preferences.d/
- /etc/apt/mirrors/
- /etc/environment
- /etc/localtime
- /etc/protocols