From 9baf2edd940510a55ed6480a6ff55492781c6842 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Wed, 6 May 2020 09:39:41 -0700 Subject: [PATCH] fix docs for video_ram to use correct units --- builder/vsphere/common/step_hardware.go | 2 +- .../builder/vsphere/common/HardwareConfig-not-required.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/vsphere/common/step_hardware.go b/builder/vsphere/common/step_hardware.go index 27aba446e..6135b8436 100644 --- a/builder/vsphere/common/step_hardware.go +++ b/builder/vsphere/common/step_hardware.go @@ -32,7 +32,7 @@ type HardwareConfig struct { RAMReserveAll bool `mapstructure:"RAM_reserve_all"` // Enable RAM hot plug setting for virtual machine. Defaults to `false`. MemoryHotAddEnabled bool `mapstructure:"RAM_hot_plug"` - // Amount of video memory in MB. + // Amount of video memory in KB. VideoRAM int64 `mapstructure:"video_ram"` // vGPU profile for accelerated graphics. See [NVIDIA GRID vGPU documentation](https://docs.nvidia.com/grid/latest/grid-vgpu-user-guide/index.html#configure-vmware-vsphere-vm-with-vgpu) // for examples of profile names. Defaults to none. diff --git a/website/pages/partials/builder/vsphere/common/HardwareConfig-not-required.mdx b/website/pages/partials/builder/vsphere/common/HardwareConfig-not-required.mdx index c8daea1bb..f22c77fad 100644 --- a/website/pages/partials/builder/vsphere/common/HardwareConfig-not-required.mdx +++ b/website/pages/partials/builder/vsphere/common/HardwareConfig-not-required.mdx @@ -19,7 +19,7 @@ - `RAM_hot_plug` (bool) - Enable RAM hot plug setting for virtual machine. Defaults to `false`. -- `video_ram` (int64) - Amount of video memory in MB. +- `video_ram` (int64) - Amount of video memory in KB. - `vgpu_profile` (string) - vGPU profile for accelerated graphics. See [NVIDIA GRID vGPU documentation](https://docs.nvidia.com/grid/latest/grid-vgpu-user-guide/index.html#configure-vmware-vsphere-vm-with-vgpu) for examples of profile names. Defaults to none.