fix structs and regenerate partials

This commit is contained in:
Megan Marsh 2019-10-01 13:36:55 -07:00
parent 1ecfa032ba
commit 19a9d7149f
2 changed files with 8 additions and 4 deletions

View File

@ -146,8 +146,10 @@ type Config struct {
// one of the other listed interfaces. Using the `scsi` interface under // one of the other listed interfaces. Using the `scsi` interface under
// these circumstances will cause the build to fail. // these circumstances will cause the build to fail.
DiskInterface string `mapstructure:"disk_interface" required:"false"` DiskInterface string `mapstructure:"disk_interface" required:"false"`
// The size, in megabytes, of the hard disk to create // The size in bytes, suffixes of the first letter of common byte types
// for the VM. By default, this is 40960 (40 GB). // like "k" or "K", "M" for megabytes, G for gigabytes, T for terabytes.
// Will create the of the hard disk of the VM. By default, this is
// `40960M` (40 GB).
DiskSize string `mapstructure:"disk_size" required:"false"` DiskSize string `mapstructure:"disk_size" required:"false"`
// The cache mode to use for disk. Allowed values include any of // The cache mode to use for disk. Allowed values include any of
// `writethrough`, `writeback`, `none`, `unsafe` or `directsync`. By // `writethrough`, `writeback`, `none`, `unsafe` or `directsync`. By

View File

@ -47,8 +47,10 @@
one of the other listed interfaces. Using the `scsi` interface under one of the other listed interfaces. Using the `scsi` interface under
these circumstances will cause the build to fail. these circumstances will cause the build to fail.
- `disk_size` (uint) - The size, in megabytes, of the hard disk to create - `disk_size` (string) - The size in bytes, suffixes of the first letter of common byte types
for the VM. By default, this is 40960 (40 GB). like "k" or "K", "M" for megabytes, G for gigabytes, T for terabytes.
Will create the of the hard disk of the VM. By default, this is
`40960M` (40 GB).
- `disk_cache` (string) - The cache mode to use for disk. Allowed values include any of - `disk_cache` (string) - The cache mode to use for disk. Allowed values include any of
`writethrough`, `writeback`, `none`, `unsafe` or `directsync`. By `writethrough`, `writeback`, `none`, `unsafe` or `directsync`. By