Add hostname alternative

This commit is contained in:
VirtuBox
2019-08-04 18:43:38 +02:00
parent ed85482a24
commit 62eca49326
2 changed files with 5 additions and 4 deletions

View File

@@ -609,8 +609,10 @@ class WOStackController(CementBaseController):
["HTTP Auth Password : {0}"
.format(passwd)])
self.msg = (self.msg + ["WordOps backend is available "
"on https://{0}:22222"
.format(server_ip.text)])
"on https://{0}:22222 "
"or https://{1}:22222"
.format(server_ip.text,
WOVariables.wo_fqdn)])
else:
WOService.restart_service(self, 'nginx')