No longer default IP addresses to 127.0.0.1

This was causing problems in variouse places and is best not being
used as standard practice to allow an all in one to be expanded without
needing excessive config changes e.g.

https://bugzilla.redhat.com/show_bug.cgi?id=886541
https://bugzilla.redhat.com/show_bug.cgi?id=892318

Change-Id: I15e0201e278db0918ee820825ea0c62d3a54d7b6
This commit is contained in:
Derek Higgins
2013-01-16 17:19:00 -05:00
parent 8daf2ef26c
commit cdfbe94e4e
10 changed files with 16 additions and 16 deletions

View File

@@ -30,7 +30,7 @@ def initConfig(controllerObject):
"PROMPT" : "Enter the IP address of the Glance server",
"OPTION_LIST" : [],
"VALIDATION_FUNC" : validate.validateSSH,
"DEFAULT_VALUE" : "127.0.0.1",
"DEFAULT_VALUE" : utils.getLocalhostIP(),
"PROCESSOR_ARGS" : {"allow_localhost": True},
"PROCESSOR_FUNC" : process.processHost,
"PROCESSOR_MSG" : "WARN_VAL_IS_HOSTNAME",