You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you attempt to filter your get-pvevm command using the "-vmidorname '@tag-BLAH'" flag, it returns nothing.
The issue is that the elseif search uses $item.substring(6)... "@tag-" is only 5 characters, and so adding any character between your expected tag and the "-" will make it work again. Ex, "@tag-ABLAH" will search for all VM's with a tag of "BLAH".
*While doing other testing, I've also noticed that (at least for the API for 8.2.7), tags are separated with semi-colons instead of commas, so searching for a tag when a VM has more than one always fails.
What happened?
If you attempt to filter your get-pvevm command using the "-vmidorname '@tag-BLAH'" flag, it returns nothing.
The issue is that the elseif search uses $item.substring(6)... "@tag-" is only 5 characters, and so adding any character between your expected tag and the "-" will make it work again. Ex, "@tag-ABLAH" will search for all VM's with a tag of "BLAH".
*While doing other testing, I've also noticed that (at least for the API for 8.2.7), tags are separated with semi-colons instead of commas, so searching for a tag when a VM has more than one always fails.
Expected behavior
It returns something when used appropriately.
Relevant log output
Proxmox VE Version
8.2.7
Version (bug)
Latest
Version (working)
No response
On what operating system are you experiencing the issue?
Windows
Pull Request
The text was updated successfully, but these errors were encountered: