-
Notifications
You must be signed in to change notification settings - Fork 330
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
[BUG] Setting the build_password
using set-envvars.sh
#197
Comments
build_password
using set-envvars.sh
Looking at the code i think this change shall be applied to alle the Linux distributions. I'm instead not sure what to do for the rest of the operating systems. |
I'll take a look at it soon and address it. I updated the formatting and data in the originating bug content. Ryan Johnson |
Adds context for vmware-samplesGH-197.
* Fixes GH-197. * Update `CHANGELOG.md` Co-authored-by: Ryan Johnson <johnsonryan@vmware.com>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
* Fixes vmware-samplesGH-197. * Update `CHANGELOG.md` Co-authored-by: Ryan Johnson <johnsonryan@vmware.com>
Code of Conduct
Project Version
main
VMware vSphere
7.0 Update 2
HashiCorp Packer
v1.8.0
HashiCorp Packer Plugin for VMware vSphere
v1.0.3
Guest Operating System
Any Supported
Environment Details
The current packer templates seem to not use the
build_password
variable so that the only password read by packer is the one that the user provides in the install scriptI've noticed this situation while working on creating a Debian template starting from the existing template for Ubuntu 18.04.
In order to fix this issue and use the
build_password
variable provided within theset-envvars.sh
script the following instruction should be added to the templates:Description
Expected Behavior
Actual Behavior
Steps to Reproduce
Run a build setting a password
buid_password
in the config file as "password"Run the
set-envvars.sh
script and set the password to "different_password"Run the build.
Result: the password used by packer will be "password" and not "different_password" as expected.
Log Fragments and Files
No response
Screenshots
No response
Additional Context
The text was updated successfully, but these errors were encountered: