-
aru_is there a way to add descriptions to zones and have zadm show it in output of zadm list?
-
papertigersnot technically...but you could probably add a generic attr with zonecfg
-
papertigersaru_: I use toml for zadm but:
-
papertigers[[attr]]
-
papertigersname="some-comment"
-
papertigerstype="string"
-
papertigersvalue="this is an example of a generic attr"
-
aru_yeah, I was thinking about something like that. How would I make zadm to show that in the list without patching it?
-
andyfI think a patch to do that would be a good idea - if there is a `description` attribute set, include it somehow in `zadm list`
-
papertigerszadm show zonename attr name=some-comment
-
papertigersthat seems to work
-
aru_andyf: I'm a bit rusty with perl, but I could take a look at that
-
andyfMe too, especially the modern perl that zadm is written in. If you prefer, you could open an issue/feature request against the zadm repository.
-
aru_I'll see what I can do