mirror of https://github.com/apache/cloudstack.git
better error message when checking hostname failed in cloud-setup-database
This commit is contained in:
parent
5cd1cb17d3
commit
672e71ce34
|
|
@ -316,7 +316,7 @@ for full help
|
|||
try:
|
||||
output= runCmd(['hostname', '--fqdn'])
|
||||
except Exception, e:
|
||||
err = "The host name of this computer does not resolve to an IP address.\nPlease use your operating system's network setup tools to fix this (%s).\n"%e.__str__()
|
||||
err = "The host name of this computer does not resolve to an IP address.\nPlease use your operating system's network setup tools to fix this ('hostname --fqdn' %s).\n"%e.__str__()
|
||||
self.errorAndExit(err)
|
||||
self.info(None, True)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue