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. --- centos7/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'centos7') 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..." && \ \ echo "===> Adding hosts for convenience..." && \ mkdir -p /etc/ansible && \ - echo -e '[local]\nlocalhost\n' > /etc/ansible/hosts + echo 'localhost' > /etc/ansible/hosts # default command: display Ansible version -- cgit v1.2.3