|
@@ -385,6 +385,11 @@ func createExtClient(w http.ResponseWriter, r *http.Request) {
|
|
extclient.RemoteAccessClientID = customExtClient.RemoteAccessClientID
|
|
extclient.RemoteAccessClientID = customExtClient.RemoteAccessClientID
|
|
extclient.IngressGatewayID = nodeid
|
|
extclient.IngressGatewayID = nodeid
|
|
|
|
|
|
|
|
+ // set extclient dns to ingressdns if extclient dns is not explicitly set
|
|
|
|
+ if (extclient.DNS == "") && (node.IngressDNS != "") {
|
|
|
|
+ extclient.DNS = node.IngressDNS
|
|
|
|
+ }
|
|
|
|
+
|
|
extclient.Network = node.Network
|
|
extclient.Network = node.Network
|
|
host, err := logic.GetHost(node.HostID.String())
|
|
host, err := logic.GetHost(node.HostID.String())
|
|
if err != nil {
|
|
if err != nil {
|