Hey Everyone,
Working on some reporting needs on a few clusters I have in production and I have a question.
Currently I use
pvesh get /cluster/resources --type vm --output-format json which gets me 90% of what i need, however for Licensing compliance (Microsoft) I'd like to be able to quickly determine if the OSType is Linux or Windows.
I found I can get the ostype data via pvesh get /nodes/nodename/qemu/vmnumber/config but thats on a per VM basis.
Anyway to dump all of that via one command?
Working on some reporting needs on a few clusters I have in production and I have a question.
Currently I use
pvesh get /cluster/resources --type vm --output-format json which gets me 90% of what i need, however for Licensing compliance (Microsoft) I'd like to be able to quickly determine if the OSType is Linux or Windows.
I found I can get the ostype data via pvesh get /nodes/nodename/qemu/vmnumber/config but thats on a per VM basis.
Anyway to dump all of that via one command?