From: Wolfgang Bumiller Date: Thu, 14 Jul 2016 06:44:29 +0000 (+0200) Subject: add mac_prefix option to datacenter.cfg X-Git-Url: https://git.proxmox.com/?p=pve-cluster.git;a=commitdiff_plain;h=329da63d35bbc97b1c871308a0d489418075f71e add mac_prefix option to datacenter.cfg We allow up to 3 fixed prefix bytes. --- diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index fa4a08f..fe741cf 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -1347,6 +1347,12 @@ my $datacenter_schema = { " With both all two modes are used." . "\n\nWARNING: 'hardware' and 'both' are EXPERIMENTAL & WIP", }, + mac_prefix => { + optional => 1, + type => 'string', + pattern => qr/[a-f0-9]{2}(?::[a-f0-9]{2}){0,2}:?/i, + description => 'Prefix for autogenerated MAC addresses.', + }, }, };