Skip to content

Commit

Permalink
fixing node document download (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
iannesbitt committed Aug 15, 2023
1 parent e457c0f commit c34a51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnonboard/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def dl_node_capabilities(ssh: SSHClient, baseurl: str, node_dir: str, node_id: s
"""
"""
node_filename = '%s/%s-node.xml' % (node_dir, node_id)
command = 'sudo curl "https://%s/v2/node" > %s' % (baseurl, node_filename)
command = 'sudo curl "https://%s/%s/v2/node" > %s' % (baseurl, node_id, node_filename)
L.info('Downloading node capabilities: %s' % (command))
ssh.exec_command(command)
return node_filename
Expand Down

0 comments on commit c34a51c

Please sign in to comment.