added cluster_ssh_port_var to read from env

This commit is contained in:
Paulo Truta
2023-11-05 02:03:46 +01:00
parent 5c736a1b85
commit f0047a7a0c
+4
View File
@@ -104,6 +104,10 @@ func SetupCloudOptions() {
utils.WriteOption("CLUSTER_IP", cloudEnv["CLUSTER_IP"])
}
if cloudEnv["CLUSTER_SSH_PORT"] != "" {
utils.WriteOption("CLUSTER_SSH_PORT", cloudEnv["CLUSTER_SSH_PORT"])
}
if cloudEnv["EDGEBOXIO_API_TOKEN"] != "" {
utils.WriteOption("EDGEBOXIO_API_TOKEN", cloudEnv["EDGEBOXIO_API_TOKEN"])
}