From 95a9c05a25e0f84d00a654bf13d8d5374bc46428 Mon Sep 17 00:00:00 2001 From: Kunhui-Li Date: Mon, 14 Mar 2022 15:54:34 +0800 Subject: [PATCH] config_tools: remove the assume of virtio-net device name Since PR #7185 has removed the assume of virtio-net device name, we also remove it in the launch script generation logic. Tracked-On: #6690 Signed-off-by: Kunhui-Li Reviewed-by: Junjie Mao --- misc/config_tools/launch_config/launch_script_template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/config_tools/launch_config/launch_script_template.sh b/misc/config_tools/launch_config/launch_script_template.sh index 44318d0c8..4c333af81 100644 --- a/misc/config_tools/launch_config/launch_script_template.sh +++ b/misc/config_tools/launch_config/launch_script_template.sh @@ -128,7 +128,7 @@ function add_virtual_device() { if [ "${kind}" = "virtio-net" ]; then # Create the tap device tap_conf=${options%,*} - create_tap "tap_${tap_conf#tap=}" >> /dev/stderr + create_tap "${tap_conf#tap=}" >> /dev/stderr fi echo -n "-s ${slot},${kind}"