Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Analytics
-
5
-
Analytics 2016-10-19, Analytics 2016-11-02, Analytics 2016-11-16, Analytics 2016-11-30, Analytics 2016-12-14
-
New Feature
-
-
No Action
-
resource limitations
Description
We should add a fact that determines whether or not a VM is running in Azure.
Fact structure:
"cloud": {
|
"provider": "azure"
|
}
|
*How to calculate whether a machine is running in Azure*
Linux
cat /var/lib/dhcp/dhclient.eth0.leases | grep "option 245"
|
Expected Results
Return value is not empty
****
Note: Other platforms will be implemented in other tickets. For historical tracking, this was included in the original ticket:
Windows
$systemEnclosure = Get-WmiObject -class Win32_SystemEnclosure -namespace root\CIMV2
|
|
$computerSystemProduct = Get-WmiObject -class Win32_ComputerSystemProduct -namespace root\CIMV2
|
|
'ChassisAssetTag: "{0}"' -f $systemEnclosure.SMBIOSAssetTag
|
Expected Results
"7783-7084-3265-9085-8269-3286-77"
|
Attachments
Issue Links
- is cloned by
-
FACT-1891 Modify "cloud" fact to identify Azure on Windows
-
- Closed
-
- is supported by
-
FACT-1383 Azure Instance Metadata
-
- Resolved
-
- relates to
-
FACT-1556 Extend "cloud" fact to AWS
-
- Resolved
-
-
FACT-1557 Extend "cloud" fact to Google Compute Engine
-
- Resolved
-
-
FACT-1847 Implement "cloud" fact Azure identification for Windows platform
-
- Resolved
-
- mentioned in
-
Page Loading...