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

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