diff --git a/make_mirror.sh b/make_mirror.sh index 39fbe1a..cb3220f 100755 --- a/make_mirror.sh +++ b/make_mirror.sh @@ -541,7 +541,7 @@ END --customize-hook='touch "$1/mmdebstrap-testenv"' \ --customize-hook='copy-in "'"$tmpdir"'/mmdebstrap.service" /etc/systemd/system/' \ --customize-hook='copy-in "'"$tmpdir"'/worker.sh" /' \ - --customize-hook='printf 127.0.0.1 localhost > "$1/etc/hosts"' \ + --customize-hook='echo 127.0.0.1 localhost > "$1/etc/hosts"' \ --customize-hook='printf "START=1\nDAEMON_OPTS=\"-h 127.0.0.1 -p 80 -u nobody -dd /mnt/cache -i /var/run/mini-httpd.pid -T UTF-8\"\n" > "$1/etc/default/mini-httpd"' \ "$mirror"