-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
-only fails with interpolated builder name #858
Comments
Same here. |
Thanks, will check it out. |
I also ran into this today, and was led to this issue from the mentioned #296 (which looks like the original poster was doing almost exactly what we extracting VM role out as a user variable). I've got a set of build scripts wrapping the invocation of Packer to help developers build logical subsets of our images, but this issue means we'll have to make duplicate templates for now, one for each role. I'd love to be able to combine these into a single parameterized template. |
Yeah, I'm running into this (I believe the same issue) as well where I define in my builder:
and then attempt (in a script provisioner):
but the provisioner never runs |
I've replicated the bug, and think I know enough about the problem to work on a fix. The build name values used to when processing
I need to get my development workstation in order before I can put this together, so if anyone wants to dig in and provide a pull request in the interim please do. |
I'm seeing this issue as well. Builders specified in the |
fix build name ConfigTemplate processing [GH-858]
This is fixed! |
might be related to #296
this seems to still be broken, at least with the -only flag
The text was updated successfully, but these errors were encountered: