Revision 052783ff lib/backend.py

b/lib/backend.py
497 497

  
498 498
  if modify_ssh_setup:
499 499
    try:
500
      priv_key, pub_key, auth_keys = ssh.GetUserFiles(constants.GANETI_RUNAS)
500
      priv_key, pub_key, auth_keys = ssh.GetUserFiles(constants.SSH_LOGIN_USER)
501 501

  
502 502
      utils.RemoveAuthorizedKey(auth_keys, utils.ReadFile(pub_key))
503 503

  
......
2039 2039
                                " oflag=dsync", dest_path)
2040 2040

  
2041 2041
  remotecmd = _GetSshRunner(cluster_name).BuildCmd(dest_node,
2042
                                                   constants.GANETI_RUNAS,
2042
                                                   constants.SSH_LOGIN_USER,
2043 2043
                                                   destcmd)
2044 2044

  
2045 2045
  # all commands have been checked, so we're safe to combine them

Also available in: Unified diff