mirror of
https://github.com/icodex/docker-goedge.git
synced 2026-03-13 21:41:37 -05:00
14 lines
228 B
Bash
14 lines
228 B
Bash
|
|
#!/usr/bin/env sh
|
||
|
|
|
||
|
|
function set_hosts() {
|
||
|
|
cat > /etc/hosts <<END
|
||
|
|
127.0.0.1 goedge.cn
|
||
|
|
127.0.0.1 goedge.cloud
|
||
|
|
127.0.0.1 dl.goedge.cloud
|
||
|
|
127.0.0.1 dl.goedge.cn
|
||
|
|
127.0.0.1 global.dl.goedge.cloud
|
||
|
|
127.0.0.1 global.dl.goedge.cn
|
||
|
|
END
|
||
|
|
}
|
||
|
|
|