Skip to content

Commit

Permalink
fix docs for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxtof committed May 6, 2024
1 parent 36d871d commit c6fff57
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
14 changes: 13 additions & 1 deletion .web-docs/components/builder/nutanix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

0 comments on commit c6fff57

Please sign in to comment.