From 510b2934f01b779fbe3937ae761e3dfd7ea843ed Mon Sep 17 00:00:00 2001 From: thetuxkeeper Date: Thu, 12 May 2016 14:54:29 +0200 Subject: [PATCH] fix gateway for dhcp (#6635) --- builtin/providers/vsphere/resource_vsphere_virtual_machine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/vsphere/resource_vsphere_virtual_machine.go b/builtin/providers/vsphere/resource_vsphere_virtual_machine.go index 8ae9108fdda1..d36aa78807fd 100644 --- a/builtin/providers/vsphere/resource_vsphere_virtual_machine.go +++ b/builtin/providers/vsphere/resource_vsphere_virtual_machine.go @@ -290,7 +290,7 @@ func resourceVSphereVirtualMachine() *schema.Resource { "ipv4_gateway": &schema.Schema{ Type: schema.TypeString, Optional: true, - ForceNew: true, + Computed: true, }, "ipv6_address": &schema.Schema{ @@ -308,7 +308,7 @@ func resourceVSphereVirtualMachine() *schema.Resource { "ipv6_gateway": &schema.Schema{ Type: schema.TypeString, Optional: true, - ForceNew: true, + Computed: true, }, "adapter_type": &schema.Schema{