From 329da63d35bbc97b1c871308a0d489418075f71e Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 14 Jul 2016 08:44:29 +0200 Subject: [PATCH] add mac_prefix option to datacenter.cfg We allow up to 3 fixed prefix bytes. --- data/PVE/Cluster.pm | 6 ++++++ 1 file changed, 6 insertions(+) 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.', + }, }, }; -- 2.39.2