Skip to content

Commit

Permalink
Fix: Remove scp option in extra args
Browse files Browse the repository at this point in the history
This resolves the following error on cloud build:

Failed to connect to the host via ssh: command-line:
line 0: Bad configuration option: pubkeyacceptedalgorithms

Change-Id: I99f4da680975674e6902cb397b58db438ff79978
Signed-off-by: Anil Belur <[email protected]>
  • Loading branch information
askb committed Oct 19, 2024
1 parent 114167b commit fcee7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packer/templates/mininet-ovs-217.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ build {
]
command = "./common-packer/ansible-playbook.sh"
extra_arguments = [
"--scp-extra-args", "'-O'", "--ssh-extra-args", "-o IdentitiesOnly=yes -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa"
"--ssh-extra-args", "-o IdentitiesOnly=yes -o HostKeyAlgorithms=+ssh-rsa"
]
playbook_file = "provision/mininet-ovs-217.yaml"
skip_version_check = true
Expand Down

0 comments on commit fcee7dc

Please sign in to comment.