mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix: Cannot import Vmware instances (#6384)
This commit is contained in:
parent
867cb30efb
commit
07cabb5890
@ -4279,11 +4279,11 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
|
|||||||
vm.details.putAll(details);
|
vm.details.putAll(details);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sshPublicKeys != "") {
|
if (StringUtils.isNotBlank(sshPublicKeys)) {
|
||||||
vm.setDetail(VmDetailConstants.SSH_PUBLIC_KEY, sshPublicKeys);
|
vm.setDetail(VmDetailConstants.SSH_PUBLIC_KEY, sshPublicKeys);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sshkeypairs != "") {
|
if (StringUtils.isNotBlank(sshkeypairs)) {
|
||||||
vm.setDetail(VmDetailConstants.SSH_KEY_PAIR_NAMES, sshkeypairs);
|
vm.setDetail(VmDetailConstants.SSH_KEY_PAIR_NAMES, sshkeypairs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user