salt
salt copied to clipboard
about OpenStack vm grains conflict
Description of Issue/Question
OpenStack vm grain
salt-call grains.item productname virtual
local:
----------
productname:
OpenStack Nova
virtual:
physical
Versions Report
salt-minion 2016.3.3 (Boron)
But I check the latest salt code find the file grain/core function '_virtual(osdata) ' is the same
help to fix just add the OpenStack judgement bellow dmidecode bellow line 808:
if 'OpenStack' in output:
grains['virtual'] = 'OpenStack'
seems you have a solid understanding of a fix want to submit as a PR?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.