From 33888e98b14d6eba04c0afda8231f419ed7e23dd Mon Sep 17 00:00:00 2001 From: Ahmed Bilal Khalid Date: Mon, 2 Sep 2019 23:05:16 +0500 Subject: [PATCH] a --- ucloud-init.start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucloud-init.start b/ucloud-init.start index 85190ee..0fe443b 100755 --- a/ucloud-init.start +++ b/ucloud-init.start @@ -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')