ubridge source Ethernet interface must be quoted on Windows.

This commit is contained in:
Jeremy 2015-07-06 18:32:01 -06:00
parent dfe95cce63
commit 78d847e9ac

View File

@ -292,7 +292,7 @@ class VMwareVM(BaseVM):
elif vmnet_interface in interface["name"]:
npf = interface["id"]
if npf:
config[bridge_name] = {"source_ethernet": npf}
config[bridge_name] = {"source_ethernet": '"' + npf + '"'}
else:
raise VMwareError("Could not find NPF id for VMnet interface {}".format(vmnet_interface))
else: