Merge pull request #5184 from tsmolka/patch-1

builder/hyperv/iso: missing InterpolateContext
This commit is contained in:
Matthew Hooker 2017-08-08 10:07:53 -07:00 committed by GitHub
commit 08ff7486c1
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,8 @@ type Config struct {
// Prepare processes the build configuration parameters.
func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
err := config.Decode(&b.config, &config.DecodeOpts{
Interpolate: true,
Interpolate: true,
InterpolateContext: &b.config.ctx,
InterpolateFilter: &interpolate.RenderFilter{
Exclude: []string{
"boot_command",