fix typo of parameters order when create public key and private key of systemvm

This commit is contained in:
Frank 2011-01-31 11:48:32 -08:00
parent fb18ba9f0c
commit be94843ccf
1 changed files with 2 additions and 2 deletions

View File

@ -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) {