config_tools: remove the assume of virtio-net device name
Since PR has removed the assume of virtio-net device name,
we also remove it in the launch script generation logic.
@@ -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}"
