From 63896b98ec3fcb19d69834b7d8b2f2abee41163c Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 9 Jun 2020 15:12:13 +0200 Subject: [PATCH] docs: virtualbox/iso: remove duplicate guest_additions_mode field ( it's already defined in `GuestAdditionsConfig` ) --- builder/virtualbox/iso/builder.go | 8 -------- .../builder/virtualbox/iso/Config-not-required.mdx | 8 -------- 2 files changed, 16 deletions(-) diff --git a/builder/virtualbox/iso/builder.go b/builder/virtualbox/iso/builder.go index 94a8b7a58..9011680c1 100644 --- a/builder/virtualbox/iso/builder.go +++ b/builder/virtualbox/iso/builder.go @@ -46,14 +46,6 @@ type Config struct { // The size, in megabytes, of the hard disk to create for the VM. By // default, this is 40000 (about 40 GB). DiskSize uint `mapstructure:"disk_size" required:"false"` - // The method by which guest additions are made available to the guest for - // installation. Valid options are upload, attach, or disable. If the mode - // is attach the guest additions ISO will be attached as a CD device to the - // virtual machine. If the mode is upload the guest additions ISO will be - // uploaded to the path specified by guest_additions_path. The default - // value is upload. If disable is used, guest additions won't be - // downloaded, either. - GuestAdditionsMode string `mapstructure:"guest_additions_mode" required:"false"` // The path on the guest virtual machine where the VirtualBox guest // additions ISO will be uploaded. By default this is // VBoxGuestAdditions.iso which should upload into the login directory of diff --git a/website/pages/partials/builder/virtualbox/iso/Config-not-required.mdx b/website/pages/partials/builder/virtualbox/iso/Config-not-required.mdx index 5470cdeef..052c4c48f 100644 --- a/website/pages/partials/builder/virtualbox/iso/Config-not-required.mdx +++ b/website/pages/partials/builder/virtualbox/iso/Config-not-required.mdx @@ -3,14 +3,6 @@ - `disk_size` (uint) - The size, in megabytes, of the hard disk to create for the VM. By default, this is 40000 (about 40 GB). -- `guest_additions_mode` (string) - The method by which guest additions are made available to the guest for - installation. Valid options are upload, attach, or disable. If the mode - is attach the guest additions ISO will be attached as a CD device to the - virtual machine. If the mode is upload the guest additions ISO will be - uploaded to the path specified by guest_additions_path. The default - value is upload. If disable is used, guest additions won't be - downloaded, either. - - `guest_additions_path` (string) - The path on the guest virtual machine where the VirtualBox guest additions ISO will be uploaded. By default this is VBoxGuestAdditions.iso which should upload into the login directory of