[PATCH v2 compass-ci] sparrow/3-code: add centos in os file

28 Oct
2020
28 Oct
'20
3:48 p.m.
[Why] when run dev-env in centos system, error like this: ./dev-env:line 41: ./os/centos: No such file or directory. Signed-off-by: Zhang Yale <zhangyale3@huawei.com> --- sparrow/3-code/os/centos | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sparrow/3-code/os/centos diff --git a/sparrow/3-code/os/centos b/sparrow/3-code/os/centos new file mode 100644 index 0000000..b0669c0 --- /dev/null +++ b/sparrow/3-code/os/centos @@ -0,0 +1,8 @@ +#!/bin/bash +# SPDX-License-Identifier: MulanPSL-2.0+ + +cat > /etc/default/docker << EOF +DOCKER_OPTS="--dns 114.114.114.114" +EOF + +systemctl restart docker -- 2.23.0
1582
Age (days ago)
1582
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zhang Yale