make_mirror.sh: add newline at the end of /etc/hosts so that appending writes to the next line and not the current
This commit is contained in:
parent
69954515e7
commit
b4ba78897b
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue