Revision c41eea6e lib/bootstrap.py

b/lib/bootstrap.py
41 41
def _InitSSHSetup(node):
42 42
  """Setup the SSH configuration for the cluster.
43 43

  
44

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

  
48
  Args:
49
    node: the name of this host as a fqdn
47
  @param node: the name of this host as an FQDN
50 48

  
51 49
  """
52 50
  priv_key, pub_key, auth_keys = ssh.GetUserFiles(constants.GANETI_RUNAS)
......
243 241
  node, and no instances.
244 242

  
245 243
  @type version: int
246
  @param version: Configuration version
247
  @type cluster_config: objects.Cluster
248
  @param cluster_config: Cluster configuration
249
  @type master_node_config: objects.Node
250
  @param master_node_config: Master node configuration
251
  @type file_name: string
252
  @param file_name: Configuration file path
253

  
254
  @rtype: ssconf.SimpleConfigWriter
255
  @returns: Initialized config instance
244
  @param version: configuration version
245
  @type cluster_config: L{objects.Cluster}
246
  @param cluster_config: cluster configuration
247
  @type master_node_config: L{objects.Node}
248
  @param master_node_config: master node configuration
249
  @type cfg_file: string
250
  @param cfg_file: configuration file path
251

  
252
  @rtype: L{ssconf.SimpleConfigWriter}
253
  @returns: initialized config instance
256 254

  
257 255
  """
258 256
  nodes = {

Also available in: Unified diff