diff --git a/ucloud-init.start b/ucloud-init.start index 95338cd..67a4902 100755 --- a/ucloud-init.start +++ b/ucloud-init.start @@ -32,7 +32,7 @@ setup_ssh() { # TODO: Make sure to replace the following address with http://metadata # whenever we got http://metadata resolving to url work successfully. - metadata=$(curl http://[2a0a:e5c1:144::]:5000) + metadata=$(curl -s http://[2a0a:e5c1:144::]:5000) echo "$metadata" | jq -r '.["ssh-key-list"] | .[]' > ssh-key-list.txt while read ssh_key; do