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

Environment variable injection fails on FreeBSD #5850

Closed
jesse-c opened this issue Feb 5, 2018 · 3 comments
Closed

Environment variable injection fails on FreeBSD #5850

jesse-c opened this issue Feb 5, 2018 · 3 comments

Comments

@jesse-c
Copy link

jesse-c commented Feb 5, 2018

2018/02/05 22:13:38 ui: digitalocean: PACKER_BUILDER_TYPE=digitalocean: Command not found.

If lines 368-373 are commented out in provisioner/shell/provisioner.go then it completes successfully. [1]

[1] https://gist.github.com/jesse-c/0ea1f9a289d7ec42e2c9d34e61861344#file-debug-log_no-createflattenedenvvars

@mwhooker
Copy link
Contributor

mwhooker commented Feb 5, 2018

give this a shot and see if it works: https://www.packer.io/docs/provisioners/shell.html#freebsd-example

@jesse-c
Copy link
Author

jesse-c commented Feb 5, 2018

That worked! Sorry for missing the obvious documentation. I did have an exec_command in my actual template, but not the right one.

Thanks for triaging this so quickly.

@ghost
Copy link

ghost commented Apr 2, 2020

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.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants