Skip to content

Commit 510b293

Browse files
thetuxkeeperstack72
authored andcommitted
fix gateway for dhcp (hashicorp#6635)
1 parent 6eb75cc commit 510b293

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

builtin/providers/vsphere/resource_vsphere_virtual_machine.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ func resourceVSphereVirtualMachine() *schema.Resource {
290290
"ipv4_gateway": &schema.Schema{
291291
Type: schema.TypeString,
292292
Optional: true,
293-
ForceNew: true,
293+
Computed: true,
294294
},
295295

296296
"ipv6_address": &schema.Schema{
@@ -308,7 +308,7 @@ func resourceVSphereVirtualMachine() *schema.Resource {
308308
"ipv6_gateway": &schema.Schema{
309309
Type: schema.TypeString,
310310
Optional: true,
311-
ForceNew: true,
311+
Computed: true,
312312
},
313313

314314
"adapter_type": &schema.Schema{

0 commit comments

Comments
 (0)