add more azure metadata info

This commit is contained in:
Carlos Polop
2024-12-04 00:28:25 +01:00
parent ae49e7fa02
commit 3559a62d51
3 changed files with 16 additions and 2 deletions

View File

@@ -13,8 +13,7 @@
# Small linpeas: 1
check_aliyun_ecs() {
check_aliyun_ecs(){
is_aliyun_ecs="No"
if [ -f "/etc/cloud/cloud.cfg.d/aliyun_cloud.cfg" ]; then
is_aliyun_ecs="Yes"