Skip to content

Commit

Permalink
In the SshOnlyProvisioner get the user name from the provisioner's pr…
Browse files Browse the repository at this point in the history
…operty instead of a system property

The `SshOnlyProvisioner` gets the user name from the system variable `fallout.system.user.name` and for some reason that is empty. However, it should fetch the username from the `user.name` property of the sshonly provisioner. This fix addresses datastax#9
  • Loading branch information
kijanowski authored Jan 4, 2022
1 parent 41c8f0f commit 199c204
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected CheckResourcesResult reserveImpl(NodeGroup nodeGroup)
protected boolean startImpl(NodeGroup nodeGroup)
{
return nodeGroup.waitForAllNodes(node -> {
String userName = FalloutPropertySpecs.userPropertySpec.value(node);
String userName = userPropertySpec.value(node);
String host = sshHostSpec.value(node);
Integer port = sshPortSpec.value(node);
String password = userPasswordSpec.value(node);
Expand Down

0 comments on commit 199c204

Please sign in to comment.