On 25/06/2025 10:26, Wolfgang Bumiller wrote:
I think this should be handled with a separate key in the containers
network configuration. Maybe a "setup" property which defaults to
"container" and can be set to "host" (not sure if we ever need more,
if we know we don't, it could be a boolean...)

I agree that checking the entrypoint directly in multiple places, to
determine whether IP configuration should be managed by the host, is not
ideal. But setting a property for every net[n] individually would also
require us to set that property every time a network interface is added.
So instead in v3 I added an "ipmanagehost" boolean directly to pct.conf.
If we want we could still add a property to the network configuration
that overrides this behaviour.



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to