Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> --- Notes: requires pve-common with pve-bridge-id
PVE/QemuServer.pm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 23e7b08..de8c1bb 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -931,13 +931,10 @@ my $net_fmt = { default_key => 1, }, (map { $_ => { keyAlias => 'model', alias => 'macaddr' }} @$nic_model_list), - bridge => { - type => 'string', + bridge => get_standard_option('pve-bridge-id', { description => $net_fmt_bridge_descr, - format_description => 'bridge', - pattern => '[-_.\w\d]+', optional => 1, - }, + }), queues => { type => 'integer', minimum => 0, maximum => 16, -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel