On Thu, Oct 29, 2020 at 07:55:19PM +0800, Cao Xueliang wrote:
On Thu, Oct 29, 2020 at 07:50:51PM +0800, Zhang Yale wrote:
Signed-off-by: Zhang Yale zhangyale3@huawei.com
sparrow/3-code/os/debian | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sparrow/3-code/os/debian b/sparrow/3-code/os/debian index efb4fcb..80dca70 100644 --- a/sparrow/3-code/os/debian +++ b/sparrow/3-code/os/debian @@ -1,5 +1,5 @@ #!/bin/bash -cat >> /etc/default/docker <<EOF +cat > /etc/default/docker << EOF
Why delete ">" ?
">>" will appends the conntent. Maybe this command only run ones.
but i think '>' is better.
Thanks, Chenglong
Thanks, Xueliang
DOCKER_OPTS="--dns 114.114.114.114" EOF
-- 2.23.0