Skip to content

Commit

Permalink
r/vsphere_virtual_machine: Small doc correction for hostname
Browse files Browse the repository at this point in the history
Just a small grammar fix, and also re-run the sample code through
terraform fmt.
  • Loading branch information
vancluever committed Aug 24, 2017
1 parent f6f9121 commit 17e75ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/r/virtual_machine.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "vsphere_virtual_machine" "web" {
```hcl
resource "vsphere_virtual_machine" "lb" {
name = "lb01"
hostname = "lbalancer01"
hostname = "lbalancer01"
folder = "Loadbalancers"
vcpu = 2
memory = 4096
Expand Down Expand Up @@ -65,7 +65,7 @@ The following arguments are supported:
* `folder` - (Optional) The folder to group the VM in.
* `vcpu` - (Required) The number of virtual CPUs to allocate to the virtual machine
* `memory` - (Required) The amount of RAM (in MB) to allocate to the virtual machine
* `hostname` - (Optional) The virtual machine hostname used during the OS customization - if not specified then `name` will be a hostname
* `hostname` - (Optional) The virtual machine hostname used during the OS customization. Defaults to the `name` attribute.
* `memory_reservation` - (Optional) The amount of RAM (in MB) to reserve physical memory resource; defaults to 0 (means not to reserve)
* `datacenter` - (Optional) The name of a Datacenter in which to launch the virtual machine
* `cluster` - (Optional) Name of a Cluster in which to launch the virtual machine
Expand Down

0 comments on commit 17e75ce

Please sign in to comment.