4 // 5 alphanumeric chars. Must be either xx*, yy*, zz*, or
8 // Hostnames or IP addresses of control hosts. Use at least 3
9 // in production. System functions only when a majority are
13 // addr:port to serve web-based setup/monitoring application
20 func (c *Config) SetDefaults() {
21 if len(c.ControlHosts) == 0 {
22 c.ControlHosts = []string{"127.0.0.1"}
25 c.DataDir = "/var/lib/arvados"
28 c.DataDir = "/usr/local"
30 if c.WebListen == "" {
31 c.WebListen = "localhost:8000"