diff --git a/misc/config_tools/launch_config/launch_script_template.sh b/misc/config_tools/launch_config/launch_script_template.sh index e948031c4..b4a9ca486 100644 --- a/misc/config_tools/launch_config/launch_script_template.sh +++ b/misc/config_tools/launch_config/launch_script_template.sh @@ -52,7 +52,7 @@ function unbind_device() { function create_tap() { # create a unique tap device for each VM tap=$1 - tap_exist=$(ip a | grep "$tap" | awk '{print $1}') + tap_exist=$(ip a | grep "$tap: " | awk '{print $1}') if [ "$tap_exist"x != "x" ]; then echo "$tap TAP device already available, reusing it." else