This commit is contained in:
ahmadbilalkhalid 2019-09-02 22:35:41 +05:00
commit e62070c41f

View file

@ -80,7 +80,7 @@ setup_dns() {
} }
setup_etc_host() { setup_etc_host() {
tput setaf 2; tput bold; echo "Setting up \/etc\/hosts"; tput sgr0; tput setaf 2; tput bold; echo "Setting up /etc/hosts"; tput sgr0;
metadata=$(curl -s http://[2a0a:e5c1:144:1::]:5000) metadata=$(curl -s http://[2a0a:e5c1:144:1::]:5000)
host_list=$(echo "$metadata" | jq -r '.["host-list"]') host_list=$(echo "$metadata" | jq -r '.["host-list"]')