Install systemd-resolved into container base image for Ubuntu Noble
Change-Id: I3f797b0dbbc2343b564229b1f05fa0e70ac85216
This commit is contained in:
parent
7befe79db8
commit
bab5371c63
@ -40,6 +40,10 @@ _lxc_cache_distro_libpython:
|
|||||||
bookworm: libpython3.11
|
bookworm: libpython3.11
|
||||||
noble: libpython3.12
|
noble: libpython3.12
|
||||||
|
|
||||||
|
_lxc_cache_need_systemd_resolved: "{{ ansible_facts['distribution'] == 'Debian' or
|
||||||
|
(ansible_facts['distribution'] == 'Ubuntu' and
|
||||||
|
ansible_facts['distribution_major_version'] is ansible.builtin.version('24', 'ge')) }}"
|
||||||
|
|
||||||
# This list should contain a minimum set of packages. Add extra packages via roles that require them.
|
# This list should contain a minimum set of packages. Add extra packages via roles that require them.
|
||||||
_lxc_cache_distro_packages:
|
_lxc_cache_distro_packages:
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
@ -56,6 +60,6 @@ _lxc_cache_distro_packages:
|
|||||||
- sudo
|
- sudo
|
||||||
- systemd
|
- systemd
|
||||||
- systemd-sysv
|
- systemd-sysv
|
||||||
- "{{ (ansible_facts['distribution'] == 'Debian') | ternary('systemd-resolved', '') }}"
|
- "{{ _lxc_cache_need_systemd_resolved | ternary('systemd-resolved', '') }}"
|
||||||
- udev
|
- udev
|
||||||
- tzdata
|
- tzdata
|
||||||
|
Loading…
x
Reference in New Issue
Block a user