mirror of https://github.com/apache/cloudstack.git
Update plugins/hypervisors/baremetal/src/main/java/com/cloud/baremetal/networkservice/BaremetalDnsmasqResource.java
Co-authored-by: dahn <daan.hoogland@gmail.com>
This commit is contained in:
parent
4a614b65ed
commit
c97662d228
|
|
@ -46,7 +46,7 @@ public class BaremetalDnsmasqResource extends BaremetalDhcpResourceBase {
|
|||
com.trilead.ssh2.Connection sshConnection = null;
|
||||
try {
|
||||
super.configure(name, params);
|
||||
logger.debug(String.format("Trying to connect to DHCP server(IP=%1$s, username=%2$s, password=%3$s)", _ip, _username, "******"));
|
||||
logger.debug(String.format("Trying to connect to DHCP server(IP=%1$s, username=%2$s, password=******", _ip, _username));
|
||||
sshConnection = SSHCmdHelper.acquireAuthorizedConnection(_ip, _username, _password);
|
||||
if (sshConnection == null) {
|
||||
throw new ConfigurationException(String.format("Cannot connect to DHCP server(IP=%1$s, username=%2$s, password=******", _ip, _username));
|
||||
|
|
|
|||
Loading…
Reference in New Issue