aboutsummaryrefslogtreecommitdiffhomepage
path: root/centos7
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2016-02-25 11:11:20 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2016-02-25 11:11:20 +0800
commit7b2618d5a775fd669a36076e6f8d2380aa73af69 (patch)
treeaa0c605de300b84b96a183a38ca110d3a3105a7a /centos7
parent090ca1a3055b77d22c601546c09e7ef0432f56c4 (diff)
downloaddocker-ansible-7b2618d5a775fd669a36076e6f8d2380aa73af69.tar.gz
docker-ansible-7b2618d5a775fd669a36076e6f8d2380aa73af69.tar.zst
docker-ansible-7b2618d5a775fd669a36076e6f8d2380aa73af69.zip
Fix: remove the need for an 'echo -e' option due to inconsistency treatments among various Linux distributions and versions.
For example: Ubuntu 12.04 and 14.04.
Diffstat (limited to 'centos7')
-rw-r--r--centos7/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/centos7/Dockerfile b/centos7/Dockerfile
index d0278fd..e6c9f9e 100644
--- a/centos7/Dockerfile
+++ b/centos7/Dockerfile
@@ -45,7 +45,7 @@ RUN echo "===> Installing EPEL..." && \
45 \ 45 \
46 echo "===> Adding hosts for convenience..." && \ 46 echo "===> Adding hosts for convenience..." && \
47 mkdir -p /etc/ansible && \ 47 mkdir -p /etc/ansible && \
48 echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts 48 echo 'localhost' > /etc/ansible/hosts
49 49
50 50
51# default command: display Ansible version 51# default command: display Ansible version