mirror of
https://github.com/apache/cloudstack
synced 2026-08-02 05:26:35 +00:00
SSHCmdHelper.sshExecuteCmdOneShot only redacted logged commands by splitting on the literal keystore filename "cloud.jks", which never appears in baremetal PXE commands. As a result, CIFS storage passwords and raw VM user-data/SSH keys built by BaremetalPingPxeResource were logged in plaintext at debug level. Add maskedCmd-accepting overloads to SSHCmdHelper so callers can supply an already-redacted command for logging, and use them in BaremetalPingPxeResource for the CIFS password and VM user-data code paths, including the failure messages returned in the Answer objects. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| baremetal | ||
| hyperv | ||
| kvm | ||
| ovm | ||
| ovm3 | ||
| simulator | ||
| ucs | ||
| vmware | ||
| xenserver | ||