[pve-devel] [PATCH container] config: clarify description of host-managed netdev option
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Jan 23 16:16:57 CET 2026
Am 24.11.25 um 12:34 schrieb Filip Schauer:
> Signed-off-by: Filip Schauer <f.schauer at proxmox.com>
> ---
> src/PVE/LXC/Config.pm | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
> index 6be38a2..6445528 100644
> --- a/src/PVE/LXC/Config.pm
> +++ b/src/PVE/LXC/Config.pm
> @@ -915,7 +915,11 @@ our $netconf_desc = {
> 'host-managed' => {
> type => 'boolean',
> description =>
> - "Whether this interface's IP configuration should be managed by the host.",
> + "Whether this interface's IP configuration should be managed by the host. When enabled,"
> + . " the host (rather than the container) is responsible for the interface's IP"
> + . " configuration. The container should not run its own DHCP client or network manager"
> + . " on this interface. This is useful for containers that lack an internal network"
> + . " management stack, like many application containers.",
Great to have more context, but we have "verbose_description" schema property,
to avoid crowding places where short description is a better fit. This instance
here is a bit borderline, so mostly to put the availability of that property on
your (and others) radar.
> optional => 1,
> },
> };
More information about the pve-devel
mailing list