From 27a1ceef6d5c664aadc916613bf6674a891cdd65 Mon Sep 17 00:00:00 2001 From: Joshua Foster Date: Thu, 4 Jun 2020 12:15:53 -0400 Subject: [PATCH] add example for any ipv4 address --- builder/vsphere/common/step_wait_for_ip.go | 2 +- .../builder/vsphere/common/WaitIpConfig-not-required.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/vsphere/common/step_wait_for_ip.go b/builder/vsphere/common/step_wait_for_ip.go index 6c33b887c..8565e389e 100644 --- a/builder/vsphere/common/step_wait_for_ip.go +++ b/builder/vsphere/common/step_wait_for_ip.go @@ -29,7 +29,7 @@ type WaitIpConfig struct { // for full details. SettleTimeout time.Duration `mapstructure:"ip_settle_timeout"` // Set this to a CIDR address. This will cause the service to wait for an address that is contained in - // this network. Example: "192.168.0.0/24" would look at the address if it was "192.168.0.1". + // this network. Use "0.0.0.0/0" to wait for any ipv4 address. WaitAddress string `mapstructure:"ip_wait_address"` ipnet *net.IPNet diff --git a/website/pages/partials/builder/vsphere/common/WaitIpConfig-not-required.mdx b/website/pages/partials/builder/vsphere/common/WaitIpConfig-not-required.mdx index 4ce9daf8e..eff787766 100644 --- a/website/pages/partials/builder/vsphere/common/WaitIpConfig-not-required.mdx +++ b/website/pages/partials/builder/vsphere/common/WaitIpConfig-not-required.mdx @@ -13,5 +13,5 @@ for full details. - `ip_wait_address` (string) - Set this to a CIDR address. This will cause the service to wait for an address that is contained in - this network. Example: "192.168.0.0/24" would look at the address if it was "192.168.0.1". + this network. Use "0.0.0.0/0" to wait for any ipv4 address. \ No newline at end of file