[pve-devel] applied: [PATCH manager] api: network: fix #3385 check for used ports before writing
t.lamprecht at proxmox.com
Thu Apr 22 21:35:40 CEST 2021
On 19.04.21 20:11, Stoiko Ivanov wrote:
> Currently the check for used ports for bonds and bridges happens while
> rendering '/etc/network/interfaces.new' in PVE::Inotify (pve-common).
> However at that stage the new/updated interface is already merged with
> the old settings, making it impossible to indicate where a NIC is
> currently used.
> The code is adapted from the renderer in
> Tested on a virtual PVE instance.
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> PVE/API2/Network.pm | 37 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 37 insertions(+)
More information about the pve-devel