mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CS-16370 , VCP, support delete guest network for vmware
This commit is contained in:
parent
ba8b418542
commit
5d301f2af5
@ -936,7 +936,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
||||
int ethDeviceNum = findRouterEthDeviceIndex(domrName, routerIp, nic.getMac());
|
||||
s_logger.info("find interface index. routerIp: " + routerIp + ", mac: " + nic.getMac() + ", index: " + ethDeviceNum);
|
||||
|
||||
String args = "-C ";
|
||||
String args =(cmd.isAdd()?"-C":"-D");
|
||||
String dev = "eth" + ethDeviceNum;
|
||||
args += " -d " + dev;
|
||||
args += " -i " + domrGIP;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user