From 17f2949e369bbf5cb5c6039b7c86983235881500 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Wed, 15 Aug 2018 15:51:25 +0200 Subject: [PATCH] remove stuttering; ISOConfig.InplaceISO -> Inplace --- builder/virtualbox/iso/builder.go | 2 +- builder/vmware/iso/builder.go | 2 +- common/iso_config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/virtualbox/iso/builder.go b/builder/virtualbox/iso/builder.go index 4e906e1cd..7cf3dd7e3 100644 --- a/builder/virtualbox/iso/builder.go +++ b/builder/virtualbox/iso/builder.go @@ -204,7 +204,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe ResultKey: "iso_path", TargetPath: b.config.TargetPath, Url: b.config.ISOUrls, - Inplace: b.config.InplaceISO, + Inplace: b.config.Inplace, }, &vboxcommon.StepOutputDir{ Force: b.config.PackerForce, diff --git a/builder/vmware/iso/builder.go b/builder/vmware/iso/builder.go index a884822b2..d428d0184 100644 --- a/builder/vmware/iso/builder.go +++ b/builder/vmware/iso/builder.go @@ -291,7 +291,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe ResultKey: "iso_path", TargetPath: b.config.TargetPath, Url: b.config.ISOUrls, - Inplace: b.config.InplaceISO, + Inplace: b.config.Inplace, }, &vmwcommon.StepOutputDir{ Force: b.config.PackerForce, diff --git a/common/iso_config.go b/common/iso_config.go index e9a784266..aca468cd2 100644 --- a/common/iso_config.go +++ b/common/iso_config.go @@ -24,7 +24,7 @@ type ISOConfig struct { TargetPath string `mapstructure:"iso_target_path"` TargetExtension string `mapstructure:"iso_target_extension"` RawSingleISOUrl string `mapstructure:"iso_url"` - InplaceISO bool `mapstructure:"iso_inplace"` + Inplace bool `mapstructure:"iso_inplace"` } func (c *ISOConfig) Prepare(ctx *interpolate.Context) (warnings []string, errs []error) {