capitalization
This commit is contained in:
parent
b73825bb72
commit
a92491d17b
|
@ -13,7 +13,7 @@ import (
|
|||
// This step attaches the boot ISO, cd_files iso, and guest additions to the
|
||||
// virtual machine, if present.
|
||||
type StepAttachISOs struct {
|
||||
AttachBootIso bool
|
||||
AttachBootISO bool
|
||||
ISOInterface string
|
||||
GuestAdditionsMode string
|
||||
GuestAdditionsInterface string
|
||||
|
@ -28,7 +28,7 @@ func (s *StepAttachISOs) Run(ctx context.Context, state multistep.StateBag) mult
|
|||
diskMountMap := map[string]string{}
|
||||
s.diskUnmountCommands = map[string][]string{}
|
||||
// Track the bootable iso (only used in virtualbox-iso builder. )
|
||||
if s.AttachBootIso {
|
||||
if s.AttachBootISO {
|
||||
isoPath := state.Get("iso_path").(string)
|
||||
diskMountMap["boot_iso"] = isoPath
|
||||
}
|
||||
|
|
|
@ -279,7 +279,7 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
|
|||
new(stepCreateVM),
|
||||
new(stepCreateDisk),
|
||||
&vboxcommon.StepAttachISOs{
|
||||
AttachBootIso: true,
|
||||
AttachBootISO: true,
|
||||
ISOInterface: b.config.ISOInterface,
|
||||
GuestAdditionsMode: b.config.GuestAdditionsMode,
|
||||
GuestAdditionsInterface: b.config.GuestAdditionsInterface,
|
||||
|
|
|
@ -96,7 +96,7 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
|
|||
KeepRegistered: b.config.KeepRegistered,
|
||||
},
|
||||
&vboxcommon.StepAttachISOs{
|
||||
AttachBootIso: false,
|
||||
AttachBootISO: false,
|
||||
ISOInterface: b.config.GuestAdditionsInterface,
|
||||
GuestAdditionsMode: b.config.GuestAdditionsMode,
|
||||
GuestAdditionsInterface: b.config.GuestAdditionsInterface,
|
||||
|
|
|
@ -80,7 +80,7 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack
|
|||
Name: b.config.VMName,
|
||||
},
|
||||
&vboxcommon.StepAttachISOs{
|
||||
AttachBootIso: false,
|
||||
AttachBootISO: false,
|
||||
ISOInterface: b.config.GuestAdditionsInterface,
|
||||
GuestAdditionsMode: b.config.GuestAdditionsMode,
|
||||
GuestAdditionsInterface: b.config.GuestAdditionsInterface,
|
||||
|
|
Loading…
Reference in New Issue