From abccd997c09825ed286a39262030cd81693e6908 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 21 Jun 2019 04:54:54 +0100 Subject: [PATCH] azure: Do not drop last byte of MAC addresses Signed-off-by: Michael Tremer --- src/initscripts/helper/azure-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initscripts/helper/azure-setup b/src/initscripts/helper/azure-setup index 47d1473afc..86042a2048 100644 --- a/src/initscripts/helper/azure-setup +++ b/src/initscripts/helper/azure-setup @@ -15,7 +15,7 @@ get() { format_mac() { local mac="${1,,}" - echo "${mac:0:2}:${mac:2:2}:${mac:4:2}:${mac:6:2}:${mac:8:2}" + echo "${mac:0:2}:${mac:2:2}:${mac:4:2}:${mac:6:2}:${mac:8:2}:${mac:10:2}" } to_address() { -- 2.39.5