quote $@
This commit is contained in:
1 parent
20a48f05b3
commit
0602c91c54
1 file changed
+1
-1
@@ -1037,7 +1037,7 @@ rewrite_etc_hosts() {
|
||||
CONTAINERS_PATH=$(dirname $HOSTS)
|
||||
MNT=/container
|
||||
MNT_HOSTS=$MNT/$(basename $HOSTS)
|
||||
CONTENTS="$(etc_hosts_contents $FQDN $@)"
|
||||
CONTENTS="$(etc_hosts_contents $FQDN "$@")"
|
||||
# rewrite /etc/hosts, unlinking the file (so Docker does not modify it again) but
|
||||
# leaving it with valid contents...
|
||||
docker run --rm --net=none --privileged \
|
||||
|
||||
Reference in new issue
Block a user