remove stuttering; ISOConfig.InplaceISO -> Inplace

This commit is contained in:
Adrien Delorme 2018-08-15 15:51:25 +02:00
parent 863222b1e2
commit 17f2949e36
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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) {