mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-11-13 03:49:47 +01:00
added cluster_ssh_port_var to read from env
This commit is contained in:
@@ -104,6 +104,10 @@ func SetupCloudOptions() {
|
|||||||
utils.WriteOption("CLUSTER_IP", cloudEnv["CLUSTER_IP"])
|
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"] != "" {
|
if cloudEnv["EDGEBOXIO_API_TOKEN"] != "" {
|
||||||
utils.WriteOption("EDGEBOXIO_API_TOKEN", cloudEnv["EDGEBOXIO_API_TOKEN"])
|
utils.WriteOption("EDGEBOXIO_API_TOKEN", cloudEnv["EDGEBOXIO_API_TOKEN"])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user