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:
parent
ef721dbf13
commit
30b97f57c9
@ -38,6 +38,7 @@ _lxc_hosts_distro_packages:
|
|||||||
- python3-lxc
|
- python3-lxc
|
||||||
- python3-dev
|
- python3-dev
|
||||||
- systemd-container
|
- systemd-container
|
||||||
|
- tar
|
||||||
- xz-utils
|
- xz-utils
|
||||||
|
|
||||||
# Package to remove from the host
|
# Package to remove from the host
|
||||||
|
@ -34,6 +34,7 @@ _lxc_hosts_distro_packages:
|
|||||||
- procps
|
- procps
|
||||||
- python3-lxc
|
- python3-lxc
|
||||||
- systemd-container
|
- systemd-container
|
||||||
|
- tar
|
||||||
- unzip
|
- unzip
|
||||||
- xz
|
- xz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user