a
This commit is contained in:
parent
1e597d3db7
commit
33888e98b1
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,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::]:5000)
|
||||||
host_list=$(echo "$metadata" | jq -r '.["host-list"]')
|
host_list=$(echo "$metadata" | jq -r '.["host-list"]')
|
||||||
host_list_len=$(echo "$host_list" | jq -r '. | length')
|
host_list_len=$(echo "$host_list" | jq -r '. | length')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue