30b97f57c9
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
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
---
|
|
# Copyright 2019, VEXXHOST, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
## APT Cache Options
|
|
cache_timeout: 600
|
|
|
|
# Required apt packages.
|
|
_lxc_hosts_distro_packages:
|
|
- apparmor
|
|
- apparmor-profiles
|
|
- apparmor-utils
|
|
- bridge-utils
|
|
- btrfs-progs
|
|
- dbus
|
|
- debootstrap
|
|
- dnsmasq-base
|
|
- git
|
|
- gzip
|
|
- iptables
|
|
- irqbalance
|
|
- liblxc1
|
|
- lxc
|
|
- lxc-dev
|
|
- lxc-templates
|
|
- procps
|
|
- python3-lxc
|
|
- python3-dev
|
|
- systemd-container
|
|
- tar
|
|
- xz-utils
|
|
|
|
# Package to remove from the host
|
|
lxc_hosts_remove_distro_packages:
|
|
- dnsmasq
|
|
|
|
lxc_xz_bin: xz
|
|
|
|
system_config_dir: "/etc/default"
|
|
systemd_utils_prefix: "/lib/systemd"
|