Ensure tar is installed on LXC host

Tar is required for LXC to create base container using lxc-create. When
it's absent lxc-create exits with code 1 without any output on this
task [1]

[1] ef721dbf13/tasks/lxc_cache_create.yml (L71)

Change-Id: Ic54d160c7329aebb7769c407d3af7b0f66145bcc
This commit is contained in:
Dmitriy Rabotyagov 2022-12-12 15:57:37 +01:00
parent ef721dbf13
commit 30b97f57c9
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ _lxc_hosts_distro_packages:
- python3-lxc
- python3-dev
- systemd-container
- tar
- xz-utils
# Package to remove from the host

View File

@ -34,6 +34,7 @@ _lxc_hosts_distro_packages:
- procps
- python3-lxc
- systemd-container
- tar
- unzip
- xz