From 7b2618d5a775fd669a36076e6f8d2380aa73af69 Mon Sep 17 00:00:00 2001 From: William Yeh Date: Thu, 25 Feb 2016 11:11:20 +0800 Subject: 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. --- master-centos7/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'master-centos7/Dockerfile') diff --git a/master-centos7/Dockerfile b/master-centos7/Dockerfile index a50171d..1dfa1ab 100644 --- a/master-centos7/Dockerfile +++ b/master-centos7/Dockerfile @@ -66,7 +66,7 @@ RUN echo "===> Installing EPEL..." && \ \ echo "===> Adding hosts for convenience..." && \ mkdir -p /etc/ansible && \ - echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts + echo 'localhost' > /etc/ansible/hosts ENV PATH /opt/ansible/bin:$PATH -- cgit v1.2.3