Skip to content

Commit

Permalink
Doc update to add new parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Golgautier committed Nov 22, 2022
1 parent f933e90 commit 5b2ca2f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/builders/plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ These parameters allow to configure everything around image creation, from the t

### All OS
- `image_name` (string) - Name of the output image
- `image_description` (string) - Description for output image
- `force_deregister` (boolean) - Allow output image override if already exists
- `shutdown_command` (string) - Command line to shutdown your temporary VM
- `shutdown_timeout` (string) - Timeout for VM shutdown (format : 2m)
- `communicator` (string) - Protocol used for Packer connection (ex "winrm" or "ssh"). Default is : "ssh"
Expand All @@ -58,10 +60,10 @@ Use `vm_disks{}` entry to configure disk to your VM image. If you want to config

All parameters of this `vm_disks` section are described below.

3 types of disk configurations can by used
3 types of disk configurations can be used
- disk (create an empty disk)
- disk image (create disk from image)
- ISO image (create disk from image).
- disk image (create disk from Nutanix image library)
- ISO image (create disk from ISO image).

### Disk
- `image_type` (string) - "DISK"
Expand All @@ -79,6 +81,7 @@ Sample:
- `image_type` (string) - "DISK_IMAGE"
- `source_image_name` (string) - Name of the image used as disk source (If you want an empty disk, do not specify source)
- `source_image_uuid` (string) - UUID of the image used as disk source (If you want an empty disk, do not specify source)
- `source_image_uri` (string) - URI of the image used as disk source (Will be downloaded and stored on cluster before)
- `disk_size_gb` (integer) - size of th disk (in gigabytes)

Sample:
Expand Down

0 comments on commit 5b2ca2f

Please sign in to comment.