mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2671 Updated vpc private gateway scipt args
This commit is contained in:
parent
b000781bfc
commit
d8f5f2ea10
|
|
@ -1527,7 +1527,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
|||
snatArgs += "eth" + ethDeviceNum;
|
||||
|
||||
Pair<Boolean, String> result_gateway = SshHelper.sshExecute(routerIp, DEFAULT_DOMR_SSHPORT, "root", mgr.getSystemVMKeyFile(), null,
|
||||
"/opt/cloud/bin/vpc_privateGateway.sh " + args);
|
||||
"/opt/cloud/bin/vpc_privateGateway.sh " + snatArgs);
|
||||
|
||||
if (!result_gateway.first()) {
|
||||
throw new InternalErrorException("Unable to configure source NAT for public IP address.");
|
||||
|
|
|
|||
Loading…
Reference in New Issue