559987522a
This change removes some more boiler plate and ensures all of the required files are copied into the base container image. Change-Id: I4f74364d0969363297b286ae8327291659d20a00 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
---
|
|
# Copyright 2016, Rackspace US, 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.
|
|
|
|
_nspawn_hosts_container_image_url: "http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/ubuntu-base-18.04-base-{{ nspawn_cache_map.arch }}.tar.gz"
|
|
|
|
_nspawn_hosts_distro_packages:
|
|
- aria2
|
|
- bridge-utils
|
|
- btrfs-tools
|
|
- dbus
|
|
- dnsmasq
|
|
- git
|
|
- iptables
|
|
- irqbalance
|
|
- psmisc
|
|
- pxz
|
|
- systemd-container
|
|
|
|
_nspawn_container_distro_packages:
|
|
- apt-transport-https
|
|
- ca-certificates
|
|
- cron
|
|
- dbus
|
|
- debianutils
|
|
- iproute2
|
|
- iputils-ping
|
|
- libnss-resolve
|
|
- locales
|
|
- netbase
|
|
- openssh-server
|
|
- openssl
|
|
- python2.7
|
|
- python-apt
|
|
- rsync
|
|
- sudo
|
|
- systemd
|
|
- tar
|
|
- wget
|
|
|
|
_nspawn_cache_map:
|
|
distro: ubuntu
|
|
arch: "{{ nspawn_architecture_mapping.get(ansible_architecture) }}"
|
|
release: bionic
|
|
|
|
_nspawn_copy_from_host:
|
|
- /etc/apt
|