mirror of https://github.com/apache/cloudstack.git
Merge c8554aa752 into bce3e54a7e
This commit is contained in:
commit
b6fa2e58cf
|
|
@ -362,7 +362,7 @@ public class OvmResourceBase implements ServerResource, HypervisorResource {
|
||||||
|
|
||||||
sshConnection = SSHCmdHelper.acquireAuthorizedConnection(_ip, _username, _password);
|
sshConnection = SSHCmdHelper.acquireAuthorizedConnection(_ip, _username, _password);
|
||||||
if (sshConnection == null) {
|
if (sshConnection == null) {
|
||||||
throw new CloudRuntimeException(String.format("Cannot connect to ovm host(IP=%1$s, username=%2$s, password=%3$s", _ip, _username, _password));
|
throw new CloudRuntimeException(String.format("Cannot connect to ovm host(IP=%1$s, username=%2$s)", _ip, _username));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!SSHCmdHelper.sshExecuteCmd(sshConnection, "sh /usr/bin/configureOvm.sh postSetup")) {
|
if (!SSHCmdHelper.sshExecuteCmd(sshConnection, "sh /usr/bin/configureOvm.sh postSetup")) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue