Is there a way to get the current VM label in salt templates?
I found that I can get the VM name using {{ grains['id'] }}
but I can’t find something that looks like the label in the output of grains.ls
.
Is there a way to get the current VM label in salt templates?
I found that I can get the VM name using {{ grains['id'] }}
but I can’t find something that looks like the label in the output of grains.ls
.