On 6/24/25 10:25, Thomas Lamprecht wrote:
FWIW, we could keep ID's for simplicity but auto-generate them on
creation (probably frontend side though to not break the POST-only-once
REST-API principle.) and not show them in the UI by default.
Similar to what we did at a few places in PBS, albeit there we allowed
overriding it as there references to those IDs can exist, for affinity
rules that probably should not matter, at least nothing would come to
my mind that would need referencing them.
Biggest advantage is that we can keep section config format here and
avoid a semi-custom format. The user.cfg is inspired by shadow.cfg,
which does a similar job so it's more relatable there (and it's one of
the older config files), so I'd not take it too much as example.
ACK, that sounds good to me as well, I'll do that!
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel