Update virtual_machine.html.markdown
Replace deprecated `gateway` attrib with `network_interface.ipv4_gateway`.
This commit is contained in:
parent
d9524a71d4
commit
75100a18c9
|
@ -42,12 +42,11 @@ resource "vsphere_virtual_machine" "lb" {
|
|||
cluster = "Production Cluster"
|
||||
resource_pool = "Production Cluster/Resources/Production Servers"
|
||||
|
||||
gateway = "10.20.30.254"
|
||||
|
||||
network_interface {
|
||||
label = "10_20_30_VMNet"
|
||||
ipv4_address = "10.20.30.40"
|
||||
ipv4_prefix_length = "24"
|
||||
ipv4_gateway = "10.20.30.254"
|
||||
}
|
||||
|
||||
disk {
|
||||
|
|
Loading…
Reference in New Issue