Skip to content

Commit 1bdc1c2

Browse files
Update README.md
1 parent a3cce7c commit 1bdc1c2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You can also download the entire module and use your own predefined variables to
4141
```hcl
4242
module "example-server-linuxvm" {
4343
source = "Terraform-VMWare-Modules/vm/vsphere"
44-
version = "1.1.0"
44+
version = "1.2.0"
4545
vmtemp = "TemplateName"
4646
instances = 1
4747
vmname = "example-server-windows"
@@ -56,7 +56,7 @@ module "example-server-linuxvm" {
5656
5757
module "example-server-windowsvm" {
5858
source = "Terraform-VMWare-Modules/vm/vsphere"
59-
version = "1.1.0"
59+
version = "1.2.0"
6060
vmtemp = "TemplateName"
6161
is_windows_image = "true"
6262
instances = 1
@@ -94,7 +94,7 @@ Below is an example of windows deployment with some of the available feature set
9494
```hcl
9595
module "example-server-windowsvm-advanced" {
9696
source = "Terraform-VMWare-Modules/vm/vsphere"
97-
version = "1.1.0"
97+
version = "1.2.0"
9898
dc = "Datacenter"
9999
vmrp = "cluster/Resources" #Works with ESXi/Resources
100100
vmfolder = "Cattle"
@@ -109,13 +109,16 @@ module "example-server-windowsvm-advanced" {
109109
vmname = "AdvancedVM"
110110
vmdomain = "somedomain.com"
111111
network_cards = ["VM Network", "test-network"] #Assign multiple cards
112+
network_type = ["vmxnet3", "vmxnet3"]
112113
ipv4submask = ["24", "8"]
113114
ipv4 = { #assign IPs per card
114115
"VM Network" = ["192.168.0.4", ""] // Here the first instance will use Static Ip and Second DHCP
115116
"test" = ["", "192.168.0.3"]
116117
}
117118
data_disk_size_gb = [10, 5] // Aditional Disk to be used
118119
thin_provisioned = ["true", "false"]
120+
disk_label = ["tpl-disk-1"]
121+
data_disk_label = ["label1", "label2"]
119122
disk_datastore = "vsanDatastore" // This will store Template disk in the defined disk_datastore
120123
data_disk_datastore = ["vsanDatastore", "nfsDatastore"] // Datastores for additional data disks
121124
scsi_type = "lsilogic" // Other acceptable value "pvscsi"

0 commit comments

Comments
 (0)