-
Notifications
You must be signed in to change notification settings - Fork 375
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
Make keep_input_artifact value a variable #87
Comments
What do you think you would be provisioning additionally? The intent is that these are "JEOS boxes" (Just Enough OS...for a configuration management system). There really shouldn't be much more that should be done in another template besides calling a CM system to do the rest of the work, like Chef, Ansible, Puppet or Saltstack. What do you have in mind? That being said, we've had issues with packer not supporting boolean values as variables (basically anything that is not a string. Have you tested this to make sure it's even possible with the latest packer? As I recall it packer won't accept this value as a string and it might not be able to parametize like you are thinking. |
I am using the ubuntu 16.04 boxcutter box as a base for a couple of other vagrant boxes (this is the latest one, open-development-environment-devbox). I would like to avoid the provisioning phase each time I destroy my boxes. According to hashicorp/packer#1913 it should work (it was the very same use case BTW). There is also a possible regression in hashicorp/packer#2630 Edit ( @annawake ): it did not work. I am providing information in hashicorp/packer#2630 |
@annawake Appartently a fix for this issue is low on the Packer devs list of priorities Is it possible to set this flag to |
Hi all. I would like to use these packer templates as a base for other images. This could be achieved by setting the
keep_input_artifact
configuration value in a variable with the default value offalse
. With this change, a user of this template could:true
I can provide a pull request for this, thanks.
The text was updated successfully, but these errors were encountered: