cloud-init: nocloud v1: use lower case mac address

because cloud-init...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2018-06-06 16:13:26 +02:00 committed by Thomas Lamprecht
parent 862807898c
commit c3cedb3d9c

View File

@ -316,7 +316,7 @@ sub nocloud_network {
my $net = PVE::QemuServer::parse_net($conf->{$iface}); my $net = PVE::QemuServer::parse_net($conf->{$iface});
my $ipconfig = PVE::QemuServer::parse_ipconfig($conf->{"ipconfig$id"}); my $ipconfig = PVE::QemuServer::parse_ipconfig($conf->{"ipconfig$id"});
my $mac = $net->{macaddr} my $mac = lc($net->{macaddr})
or die "network interface '$iface' has no mac address\n"; or die "network interface '$iface' has no mac address\n";
$content .= "${i}- type: physical\n" $content .= "${i}- type: physical\n"