We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8dae9f commit 0388366Copy full SHA for 0388366
1 file changed
client/deis.py
@@ -1473,7 +1473,7 @@ def nodes_ssh(self, args):
1473
with open(key_path, 'w') as f:
1474
f.write(layer['ssh_private_key'])
1475
ssh_args = ['-o UserKnownHostsFile=/dev/null', '-o StrictHostKeyChecking=no',
1476
- '-i', key_path, 'ubuntu@{fqdn}'.format(**node)]
+ '-i', key_path, '{}@{}'.format(layer['ssh_username'], node['fqdn'])]
1477
command = args.get('<command>')
1478
if command:
1479
ssh_args.extend(command)
0 commit comments