问题

@@ {mac_address} @@变量为空

  • 2020年12月8日
  • 1回复
  • 140次观看

徽章 +3

我已经创建了一个蓝图,并试图将默认的宏@@ {mac_address} @@变量传递给runbook。似乎变量为空。有任何想法吗?我成功地拉动其他宏没有问题。

冷静3.1.0


1回复

Userlevel 1

@aldeng,,,,

要获取MAC地址,您需要使用@@ {Platform} @@ macro。它列出了提供商的所有宏。例如,要获取可以使用AHV的网络UUID

@@ {platform.status.resources.nic_list [0] .subnet_reference.id} @@

回复


Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu