From 345d263f6cfecb4e677f7213d22f3698fe5c671b Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 21 Mar 2018 10:33:39 +0100 Subject: [PATCH] cleanup: remove duplicate mac address assignment The git history of this is not immediately obvious due to the date of the cloud init patches, but the removal of this line was basically reverted by them later at merge-time. Signed-off-by: Wolfgang Bumiller --- PVE/QemuServer.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 5462d072..0711afbf 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -1971,7 +1971,6 @@ sub parse_net { my $dc = PVE::Cluster::cfs_read_file('datacenter.cfg'); $res->{macaddr} = PVE::Tools::random_ether_addr($dc->{mac_prefix}); } - $res->{macaddr} = PVE::Tools::random_ether_addr() if !defined($res->{macaddr}); return $res; }