Update 3_cloud.sh

add detect user data
This commit is contained in:
shadowabi 2024-06-17 14:31:28 +08:00 committed by GitHub
parent efa0e98547
commit 8afc352878
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -237,6 +237,10 @@ if [ "$is_tencent_cvm" = "Yes" ]; then
echo " Key: "$(eval $tencent_req "http://169.254.0.23/latest/meta-data/public-keys/${key}openssh-key")
echo " =============="
done
echo ""
print_3title "User Data"
eval $tencent_req http://169.254.0.23/latest/user-data; echo ""
fi
if [ "$is_aliyun_ecs" = "Yes" ]; then