Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto generated keypair file name on windows include .\ which is invalid format #624

Closed
kapilchouhan99 opened this issue Dec 17, 2019 · 0 comments · Fixed by #626
Closed
Assignees
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@kapilchouhan99
Copy link

Scenario:

Whenever the user doesn't provide ssh_key_name, The packer Amazon AMI builder will generate a temporary keypair. The generated keypair file name should be the correct format.

Steps to Reproduce:

If the user is provisioning a Windows host:

knife ec2 server create -N chef-node-name -I ami-0d639a48468c98db8 -f t2.micro -x '.\kpl-w' -P 'ec2user@123' --winrm-ssl --winrm-no-verify-cert --security-group-id sg-001bbf0c658b11a3b -VV -c /home/.chef/knife.rb

then Generated keypair file name like this: .\kpl-w-00051f26c438dc0fe2db.pem which is invalid format

Expected Result:

If the user is provisioning a Windows host, then Generated keypair file name should be like this: kpl-w-00051f26c438dc0fe2db.pem

@kapilchouhan99 kapilchouhan99 added the Status: Untriaged An issue that has yet to be triaged. label Dec 17, 2019
@kapilchouhan99 kapilchouhan99 self-assigned this Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant