From c6fff570a6b0f16cfc6ce810df6dccfc03b1f3f5 Mon Sep 17 00:00:00 2001 From: Christophe Jauffret Date: Mon, 6 May 2024 13:17:25 +0200 Subject: [PATCH] fix docs for next release --- .goreleaser.yml | 6 +++--- .web-docs/components/builder/nutanix/README.md | 14 +++++++++++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 9edcb83..6d527d2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,7 +9,7 @@ before: - go test ./... # As part of the release doc files are included as a separate deliverable for # consumption by Packer.io. To include a separate docs.zip uncomment the following command. - - make ci-release-docs + # - make ci-release-docs # Check plugin compatibility with required version of the Packer SDK - make plugin-check builds: @@ -76,8 +76,8 @@ release: # draft: true # As part of the release doc files are included as a separate deliverable for consumption by Packer.io. # To include a separate docs.zip uncomment the extra_files config and the docs.zip command hook above. - extra_files: - - glob: ./docs.zip + # extra_files: + # - glob: ./docs.zip changelog: skip: true diff --git a/.web-docs/components/builder/nutanix/README.md b/.web-docs/components/builder/nutanix/README.md index 53ff12b..613de6a 100644 --- a/.web-docs/components/builder/nutanix/README.md +++ b/.web-docs/components/builder/nutanix/README.md @@ -25,7 +25,7 @@ These parameters allow to define information about platform and temporary VM use - `ip_wait_timeout` (duration string | ex: "0h42m0s") - Amount of time to wait for VM's IP, similar to 'ssh_timeout'. Defaults to 15m (15 minutes). See the Golang [ParseDuration](https://golang.org/pkg/time/#ParseDuration) documentation for full details. - `vm_categories` ([]Category) - Assign Categories to the vm. - `project` (string) - Assign Project to the vm. - + - `gpu` ([] GPU) - GPU in cluster name to be attached on temporary VM. ## Output configuration @@ -144,6 +144,18 @@ Sample Note: Categories must already be present in Prism Central. +## GPU Configuration + +Use `GPU` to assign a GPU that is present on `cluster-name` on the temporary vm. Add the name of the GPU you wish to attach. + +Sample + +```hcl + gpu { + name = "Ampere 40" + } +``` + ## Samples You can find samples [here](https://github.com/nutanix-cloud-native/packer-plugin-nutanix/tree/main/example) for these instructions usage.