mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-04 19:45:52 +00:00
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 <w.bumiller@proxmox.com>
This commit is contained in:
parent
1ae43f8c11
commit
345d263f6c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user