ConfigureProxmoxBridges
Phase 3e helper: rewrite /etc/network/interfaces on the Proxmox host to a bonded VLAN-aware layout (LACP bond0 from 2 NICs, vmbr0 bridge-vlan-aware, vmbr0v250 host mgmt sub-interface at ProxmoxMgmtIp), then apply via ifupdown2 ifreload -a.
|
Note
|
Idempotent: same input twice = same file content. The current file content is diffed with the rendered target; Target layout (see
Gated by |
public static class ConfigureProxmoxBridges
1. Methods
1.1. Run(ISystemHost, NETSetupConfig, IServiceProvider)
Rewrites /etc/network/interfaces + applies via ifreload -a. Best-effort: every failure path logs and returns - never throws (caller is RunProxmoxUpdate's Phase 3e try/catch).
public static void Run(ISystemHost host, NETSetupConfig config, IServiceProvider services)
| Name | Type | Description |
|---|---|---|
host |
ISystemHost |
|
config |
NETSetupConfig |
|
services |
IServiceProvider |