This commit is contained in:
Xavier Pillons 2020-04-15 12:54:01 +02:00
Родитель 3057253baa
Коммит 98a5c590d0
1 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -111,10 +111,10 @@ def do_scp(args):
sshkey="{}_id_rsa".format(adminuser)
# TODO: check ssh key exists
jumpbox = c.read_value("install_from")
if not jumpbox:
log.error(f"Missing 'install_from' property")
sys.exit(1)
# jumpbox = c.read_value("install_from")
# if not jumpbox:
# log.error(f"Missing 'install_from' property")
# sys.exit(1)
fqdn = c.get_install_from_destination()
@ -234,12 +234,12 @@ def do_status(args):
adminuser = c.read_value("admin_user")
ssh_private_key="{}_id_rsa".format(adminuser)
jumpbox = c.read_value("install_from")
if not jumpbox:
log.error(f"Missing 'install_from' property")
sys.exit(1)
# jumpbox = c.read_value("install_from")
# if not jumpbox:
# log.error(f"Missing 'install_from' property")
# sys.exit(1)
resource_group = c.read_value("resource_group")
# resource_group = c.read_value("resource_group")
fqdn = c.get_install_from_destination()
tmpdir = "azhpc_install_" + os.path.basename(args.config_file).strip(".json")