diff --git a/website/docs/r/virtual_machine.html.markdown b/website/docs/r/virtual_machine.html.markdown
index 6cba43475..2d0c654f5 100644
--- a/website/docs/r/virtual_machine.html.markdown
+++ b/website/docs/r/virtual_machine.html.markdown
@@ -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
@@ -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