]> git.proxmox.com Git - qemu-server.git/commitdiff
config: harmonize bridge pattern
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 8 Apr 2020 12:02:47 +0000 (14:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Apr 2020 12:11:33 +0000 (14:11 +0200)
so that pve-container and qemu-server use the same one, in preparation
for moving it to JSONSchema and having a bridgepair format.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/QemuServer.pm

index 12f76b87dae3701245ca8f4819e5ad922b71fba5..e9eb42173e685b7b9f6bad4b5dd2009affac2345 100644 (file)
@@ -846,6 +846,7 @@ my $net_fmt = {
        type => 'string',
        description => $net_fmt_bridge_descr,
        format_description => 'bridge',
+       pattern => '[-_.\w\d]+',
        optional => 1,
     },
     queues => {