Skip to content

Commit

Permalink
[refactor-runner-adxt-783] Fixed little error
Browse files Browse the repository at this point in the history
  • Loading branch information
CelianR committed Dec 13, 2024
1 parent ab0b21a commit c0c3ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scenarios/aws/microVMs/microvms/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func prepareLibvirtSSHKeys(runner command.Runner, localRunner *command.LocalRunn
// We override the runner-level user here with root, and construct the path to the default users .ssh directory,
// in order to write the public ssh key in the correct file.
sshWriteArgs := command.Args{
Create: pulumi.Sprintf("echo '%s' >> $(getent passwd 1000 | cut -d: -f6)/.ssh/authorized_keys", sshgenDone.StderrOutput()),
Create: pulumi.Sprintf("echo '%s' >> $(getent passwd 1000 | cut -d: -f6)/.ssh/authorized_keys", sshgenDone.StdoutOutput()),
Sudo: true,
}

Expand Down

0 comments on commit c0c3ac4

Please sign in to comment.