From 64896ac982abbebdcd5d2c4a7af247fabe80cebc Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 15 Jul 2020 10:56:53 +0800 Subject: [PATCH] acrn-config: minor fix mac seed for launch config Minor fix for mac seed when generating launch script. Tracked-On: #5039 Signed-off-by: Wei Liu --- misc/acrn-config/launch_config/com.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/acrn-config/launch_config/com.py b/misc/acrn-config/launch_config/com.py index 0975b5e10..3801d3533 100644 --- a/misc/acrn-config/launch_config/com.py +++ b/misc/acrn-config/launch_config/com.py @@ -51,7 +51,7 @@ def tap_uos_net(names, virt_io, vmid, config): print("#vm-name used to generate uos-mac address", file=config) print("mac=$(cat /sys/class/net/e*/address)", file=config) print("vm_name=post_vm_id$1", file=config) - print("mac_seed=${mac:9:8}-${vm_name}", file=config) + print("mac_seed=${mac}-${vm_name}", file=config) print("", file=config)