mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Add support for EC2
This commit is contained in:
parent
60029398c6
commit
1c9b372405
@ -1341,6 +1341,8 @@ def _windows_platform_data():
|
||||
grains['virtual_subtype'] = 'HVM domU'
|
||||
elif 'OpenStack' in systeminfo.Model:
|
||||
grains['virtual'] = 'OpenStack'
|
||||
elif 'AMAZON' in biosinfo.Version:
|
||||
grains['virtual'] = 'EC2'
|
||||
|
||||
return grains
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user