mirror of https://github.com/apache/cloudstack.git
fix typo of parameters order when create public key and private key of systemvm
This commit is contained in:
parent
fb18ba9f0c
commit
be94843ccf
|
|
@ -507,8 +507,8 @@ public class ConfigurationServerImpl implements ConfigurationServer {
|
|||
|
||||
String pubKey = _configDao.getValue("ssh.publickey");
|
||||
String prvKey = _configDao.getValue("ssh.privatekey");
|
||||
writeKeyToDisk(homeDir + "/.ssh/id_rsa", prvKey);
|
||||
writeKeyToDisk(homeDir + "/.ssh/id_rsa.pub", pubKey);
|
||||
writeKeyToDisk(prvKey, homeDir + "/.ssh/id_rsa");
|
||||
writeKeyToDisk(pubKey, homeDir + "/.ssh/id_rsa.pub");
|
||||
}
|
||||
|
||||
protected void injectSshKeysIntoSystemVmIsoPatch(String publicKeyPath, String privKeyPath) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue