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 WinRM special characters cause issues with Inspec #8042

Closed
GavBurke opened this issue Aug 27, 2019 · 3 comments
Closed

Auto generated WinRM special characters cause issues with Inspec #8042

GavBurke opened this issue Aug 27, 2019 · 3 comments
Labels
community-supported-plugin denotes requests for plugins that are supported by the community, not by HashiCorp engineers remote-plugin/inspec

Comments

@GavBurke
Copy link

  • Packer version from packer version
    1.0.4

  • Host platform
    Ubuntu and COS

  • The simplest example template and scripts needed to reproduce the bug.
    There isn't any repeatable way, just keep trying until the "random" password from Packer gives you a - at the start of the password, i.e. this one broke our build

inspec exec test-profile --backend winrm --host 10.21.128.67 --port 5986 --user dh-packer-build --password '-r=XQxq%&#%NNs4' --ssl --insecure --self-signed --no-distinct-exit --target-id packer-mswin-f5bfb2d3a0 --show-progress

You get the error back Please provide a value for --password. For example: --password=hello.

@azr
Copy link
Contributor

azr commented Aug 30, 2019

Hello, thanks for reaching out; do you know if this still happens with the latest version of packer ? ( Currently 1.4.3 )
I'm asking because 1.0.4 was tagged on 11 Aug 2017, and there is a chance that your issue has been fixed since.

@GavBurke
Copy link
Author

I am not sure, I'll see if I can quickly check that out

@nywilken nywilken added the community-supported-plugin denotes requests for plugins that are supported by the community, not by HashiCorp engineers label Nov 18, 2020
@github-actions github-actions bot closed this as completed Nov 9, 2021
@github-actions
Copy link

github-actions bot commented Nov 9, 2021

This issue has been migrated to hashicorp/packer-plugin-inspec#18 due to the Packer Plugin split.

Please follow the new issue for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-supported-plugin denotes requests for plugins that are supported by the community, not by HashiCorp engineers remote-plugin/inspec
Projects
None yet
Development

No branches or pull requests

3 participants