Skip to content

Commit

Permalink
improved spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
XaverStiensmeier committed May 6, 2024
1 parent edf4639 commit 8a265da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bibigrid/core/actions/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,13 @@ def __init__(self, providers, configurations, config_path, log, debug=False, clu
"useMasterWithPublicIp", True)
self.log.debug("Keyname: %s", self.key_name)


def create_defaults(self):
if not self.configurations[0].get("customAnsibleCfg", False) or not os.path.isfile(a_rp.ANSIBLE_CFG_PATH):
shutil.copy(a_rp.ANSIBLE_CFG_DEFAULT_PATH, a_rp.ANSIBLE_CFG_PATH)
if not self.configurations[0].get("customSlurmConf", False) or not os.path.isfile(
a_rp.SLURM_CONF_TEMPLATE_PATH):
shutil.copy(a_rp.SLURM_CONF_TEMPLATE_DEFAULT_PATH, a_rp.SLURM_CONF_TEMPLATE_PATH)


def generate_keypair(self):
"""
Generates ECDSA Keypair using system-function ssh-keygen and uploads the generated public key to providers.
Expand Down

0 comments on commit 8a265da

Please sign in to comment.