diff options
author | Tomáš Levora <t.levora@partner.samsung.com> | 2019-01-04 08:51:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-04 08:51:54 +0000 |
commit | 3942667de0be2a9829233a99b41fb7c520757efb (patch) | |
tree | b6cadf0419769b9c669ce897268d4bcb37ffa245 | |
parent | 7d107a6606d6164ed55ddb9686f698de7c9bcd21 (diff) | |
parent | 3c02c9ac2c53d88e5d0b983c0b40c2ca06a56c4e (diff) |
Merge "Add /etc/hosts to the chroot environment"
-rwxr-xr-x | ansible/docker/run_chroot.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ansible/docker/run_chroot.sh b/ansible/docker/run_chroot.sh index b38c1295..1ab26373 100755 --- a/ansible/docker/run_chroot.sh +++ b/ansible/docker/run_chroot.sh @@ -448,8 +448,9 @@ case "$action" in install_wrapper # execute chroot - # copy resolv.conf + # copy resolv.conf and hosts file cp -a /etc/resolv.conf "$CHROOT_DIR"/etc/resolv.conf + cp -a /etc/hosts "$CHROOT_DIR"/etc/hosts if [ -n "$1" ] ; then : |