This commit is contained in:
ahmadbilalkhalid 2019-09-02 23:05:16 +05:00
parent 1e597d3db7
commit 33888e98b1
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ setup_dns() {
setup_etc_host() {
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::]:5000)
host_list=$(echo "$metadata" | jq -r '.["host-list"]')
host_list_len=$(echo "$host_list" | jq -r '. | length')