-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
boot_steps
fail to expand {{ .HTTPIP }}
and {{ .HTTPPort }}
#109
Comments
Hi @jacob-carlborg, Sorry I missed that one, I'm surprised it happens as it would be the I'm also able to replicate the problem locally, so it does look like a bug to fix. I'll investigate, once I figure out what's happening and I can submit a fix, we can release a new version of the plugin. Thanks for signalling this to us! |
Well that was an easier fix than expected :) We'll release v1.0.8 of the plugin, either today or Monday at the latest, you should have this fixed on the latest main if you want to spin a test @jacob-carlborg. Thanks again for signalling this bug! |
@lbajolet-hashicorp Awesome, thanks. I've been banging my head against the wall with this bug for a while now. |
@lbajolet-hashicorp I've tried your fix and can confirm it's now working. Thanks again. |
Overview of the Issue
If
{{ .HTTPIP }}
or{{ .HTTPPort }}
are used inboot_steps
they will not be expanded. When Packer is supposed to type the IP address or port, it instead outputs<no value>
.Looks like I missed something when I implemented
boot_steps
in #103.Reproduction Steps
Use
{{ .HTTPIP }}
or{{ .HTTPPort }}
inboot_steps
.Plugin and Packer version
boot_steps
was added in packer-plugin-qemu 1.0.7.Simplified Packer Buildfile
Partial build file of NetBSD:
The text was updated successfully, but these errors were encountered: