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:
parent
975b91fdc4
commit
b1ab82b526
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user