---
# 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.

_lxc_hosts_container_image_url: "https://github.com/CentOS/sig-cloud-instance-images/raw/CentOS-7/docker/centos-7-docker.tar.xz"

_lxc_cache_map:
  distro: centos
  arch: "{{ lxc_architecture_mapping.get( ansible_architecture ) }}"
  release: 7
  copy_from_host:
    - /etc/default/locale
    - /etc/environment
    - /etc/localtime
    - /etc/locale.conf
    - /etc/protocols
    - /etc/pki/rpm-gpg/
    - /etc/yum/pluginconf.d/fastestmirror.conf
    - /etc/yum.repos.d/

_lxc_cache_prep_template: "prep-scripts/centos_7_prep.sh.j2"

_lxc_cache_distro_packages:
  - ca-certificates
  - cronie
  - gcc
  - iproute
  - iputils
  - libffi-devel
  - openssh-server
  - openssl
  - openssl-devel
  - policycoreutils
  - python2
  - python-devel
  - rsync
  - setup
  - sudo
  - systemd
  - systemd-sysv
  - systemd-networkd
  - tar
  - wget
  - which
  - yum-plugin-priorities
  - yum-plugin-rpm-warm-cache
  - yum-utils