Skip to content

Conversation

@joncave
Copy link

@joncave joncave commented Mar 3, 2018

Setting the InterpolateContext fills out config.ctx in the builder to be passed into the steps that require it. For example, this allows user variables in the boot_command to be interpolated correctly.

Fixes #93.

This is how the core Hyper-V builder works: https://github.com/hashicorp/packer/blob/master/builder/hyperv/iso/builder.go#L108-L116

Setting the InterpolateContext fills out config.ctx in the builder to be
passed into the steps that require it. For example, this allows user
variables in the boot_command to be interpolated correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant