Skip to content
Snippets Groups Projects
Commit 7708e713 authored by ale's avatar ale
Browse files

Print the created group id

parent 059dff9c
No related branches found
No related tags found
No related merge requests found
...@@ -129,8 +129,10 @@ def main(): ...@@ -129,8 +129,10 @@ def main():
print('creating VM group...') print('creating VM group...')
resp = do_request(args.url + '/api/create-group', args.ssh, req) resp = do_request(args.url + '/api/create-group', args.ssh, req)
group_id = resp['group_id']
with open(args.state_file, 'w') as fd: with open(args.state_file, 'w') as fd:
fd.write(resp['group_id']) fd.write(group_id)
print(f'created VM group {group_id}')
install_ssh_key() install_ssh_key()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment