Revision 531baf8e lib/bootstrap.py

b/lib/bootstrap.py
38 38
from ganeti import objects
39 39
from ganeti import ssconf
40 40

  
41
def _InitSSHSetup(node):
41
def _InitSSHSetup():
42 42
  """Setup the SSH configuration for the cluster.
43 43

  
44 44
  This generates a dsa keypair for root, adds the pub key to the
45 45
  permitted hosts and adds the hostkey to its own known hosts.
46 46

  
47
  @param node: the name of this host as an FQDN
48

  
49 47
  """
50 48
  priv_key, pub_key, auth_keys = ssh.GetUserFiles(constants.GANETI_RUNAS)
51 49

  
......
192 190
  sshkey = sshline.split(" ")[1]
193 191

  
194 192
  utils.AddHostToEtcHosts(hostname.name)
195
  _InitSSHSetup(hostname.name)
193
  _InitSSHSetup()
196 194

  
197 195
  # init of cluster config file
198 196
  cluster_config = objects.Cluster(

Also available in: Unified diff