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
008146a6b0
commit
f4010f2215
|
|
@ -375,7 +375,7 @@ for example:
|
|||
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