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 <weix.w.liu@intel.com>
This commit is contained in:
Wei Liu 2020-07-15 10:56:53 +08:00 committed by wenlingz
parent f4860859ef
commit 76ec5f69f8
1 changed files with 1 additions and 1 deletions

View File

@ -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)