Added systemd resolver files to Ubuntu16.04 and RHEL7

This change adds the systemd resolver file to the `copy_from_host`
include list. This will ensure that all of the resolver information
on a given host is also present within a container.

Change-Id: I8cb6635f0021c65cf8245ca346c5effcd759115d
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-08-15 09:42:07 -05:00
parent 975b91fdc4
commit b1ab82b526
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ lxc_cache_map:
- /etc/yum.repos.d/
- /etc/pki/rpm-gpg/
- /etc/resolv.conf
- /etc/systemd/resolved.conf
cache_prep_commands: |
yum install -y {{ lxc_cache_packages | join(' ') }}
rm -f /usr/bin/python

View File

@ -50,6 +50,7 @@ lxc_cache_map:
- /run/resolvconf/
- /etc/resolvconf/
- /etc/resolv.conf
- /etc/systemd/resolved.conf
- /root/repo.keys
cache_prep_commands: |
apt-key add /root/repo.keys