diff --git a/test/utilities/connectivity_testing.go b/test/utilities/connectivity_testing.go index f8504b0..1bfd8b7 100644 --- a/test/utilities/connectivity_testing.go +++ b/test/utilities/connectivity_testing.go @@ -251,7 +251,7 @@ func CreateGatewayEp(t *testing.T, networkId string, ipAddress string, ipv6Adres if gatwayInterfaceName == "" { gatwayInterfaceName = DefaultGatewayInterfaceName } - vEthernetName := fmt.Sprintf(`"vEthernet (%s)"`, gatwayInterfaceName) + vEthernetName := fmt.Sprintf("vEthernet (%s)", strings.Trim(gatwayInterfaceName, `"'`)) t.Logf("Setting up gateway ep on interface %q", vEthernetName) cmd := exec.Command("netsh", "int", "ipv4", "set", "int", vNicName, "for=en")