pass hpc_port80 config variable to hpcConfig view
diff --git a/xos/core/views/hpc_config.py b/xos/core/views/hpc_config.py
index 8b5bac0..af183bf 100644
--- a/xos/core/views/hpc_config.py
+++ b/xos/core/views/hpc_config.py
@@ -101,6 +101,11 @@
d["xos_hostname"] = xos.settings.RESTAPI_HOSTNAME
d["xos_port"] = str(xos.settings.RESTAPI_PORT)
+ if hpc.hpc_port80:
+ d["hpc_port80"] = "True"
+ else:
+ d["hpc_port80"] = "False"
+
return HttpResponse("""# auto-generated by HpcConfig
ENABLE_PLC=False
ENABLE_PS=True
@@ -122,5 +127,6 @@
PUPPET_MASTER_PORT="8140"
PS_HOSTNAME="{xos_hostname}"
PS_PORT="{xos_port}"
+COBLITZ_PORT_80={hpc_port80}
""".format(**d))