mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 18:53:07 +00:00
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:
parent
862807898c
commit
c3cedb3d9c
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user