From 1eb64a25226d6c2ae48ac5cc4c24499e0bbb84cf Mon Sep 17 00:00:00 2001 From: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Date: Mon, 10 Jun 2024 20:00:08 -0400 Subject: [PATCH] fix(docs): add more details about the `usb` block in VM (#1382) Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --- docs/resources/virtual_environment_vm.md | 5 ++--- tools/go.sum | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/resources/virtual_environment_vm.md b/docs/resources/virtual_environment_vm.md index 832f9e57..9e86b416 100644 --- a/docs/resources/virtual_environment_vm.md +++ b/docs/resources/virtual_environment_vm.md @@ -328,9 +328,8 @@ output "ubuntu_vm_public_key" { - `xvga` - (Optional) Marks the PCI(e) device as the primary GPU of the VM. With this enabled the `vga` configuration argument will be ignored. - `usb` - (Optional) A host USB device mapping (multiple blocks supported). - - `host` - (Optional) The USB device ID. Use either this or `mapping`. - - `mapping` - (Optional) The resource mapping name of the device, for - example usbdevice. Use either this or `id`. + - `host` - (Optional) The Host USB device or port or the value `spice`. Use either this or `mapping`. + - `mapping` - (Optional) The cluster-wide resource mapping name of the device, for example "usbdevice". Use either this or `host`. - `usb3` - (Optional) Makes the USB device a USB3 device for the VM (defaults to `false`). - `initialization` - (Optional) The cloud-init configuration. diff --git a/tools/go.sum b/tools/go.sum index 53f73ae7..bf0844c7 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -552,6 +552,7 @@ github.com/goreleaser/fileglob v1.3.0 h1:/X6J7U8lbDpQtBvGcwwPS6OpzkNVlVEsFUVRx9+ github.com/goreleaser/fileglob v1.3.0/go.mod h1:Jx6BoXv3mbYkEzwm9THo7xbr5egkAraxkGorbJb4RxU= github.com/goreleaser/goreleaser v1.26.2 h1:1iY1HaXtRiMTrwy6KE1sNjkRjsjMi+9l0k6WUX8GpWw= github.com/goreleaser/goreleaser v1.26.2/go.mod h1:mHi6zr6fuuOh5eHdWWgyo/N8BWED5WEVtb/4GETc9jQ= +github.com/goreleaser/goreleaser/v2 v2.0.0/go.mod h1:eit+2+u8uJLgBtuEMITPaQHwO55amhR089eFkbWi3s0= github.com/goreleaser/nfpm/v2 v2.37.1 h1:RUmeEt8OlEVeSzKRrO5Vl5qVWCtUwx4j9uivGuRo5fw= github.com/goreleaser/nfpm/v2 v2.37.1/go.mod h1:q8+sZXFqn106/eGw+9V+I8+izFxZ/sJjrhwmEUxXhUg= github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=