From 7d0fafa02ffd712d294c4e44425baa8b7af0be64 Mon Sep 17 00:00:00 2001 From: wanyaoqi Date: Thu, 20 Jun 2019 11:47:28 +0800 Subject: [PATCH] remove default listen address --- pkg/baremetal/options/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/baremetal/options/options.go b/pkg/baremetal/options/options.go index 1f4ef81ed1..9c34597464 100644 --- a/pkg/baremetal/options/options.go +++ b/pkg/baremetal/options/options.go @@ -21,7 +21,7 @@ type BaremetalOptions struct { ListenInterface string `help:"Master net interface of baremetal server" default:"br0"` AccessAddress string `help:"Management IP address of baremetal server, only need to use when multiple address bind to ListenInterface"` - ListenAddress string `help:"PXE serve IP address to select when multiple address bind to ListenInterface" default:"0.0.0.0"` + ListenAddress string `help:"PXE serve IP address to select when multiple address bind to ListenInterface"` TftpRoot string `default:"/opt/cloud/yunion/baremetal" help:"tftp root directory"` AutoRegisterBaremetal bool `default:"true" help:"Automatically create a baremetal instance"` BaremetalsPath string `default:"/opt/cloud/workspace/baremetals" help:"Path for baremetals configuration files"`