diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-08-28 12:29:33 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-08-28 12:29:33 +0200 |
commit | e080fd5526949a5615ae391ea9dda8b70c95f345 (patch) | |
tree | f171c7de9533cbf320a36ed7d5fcf92d383fe699 /src/rest.c | |
parent | 18eb19ab42ffa99df5809000256d7de0ecb31976 (diff) |
rest: add "server=" boot param in set client modev1.2.4
Store a client associated ogserver ip address in "server=" boot param.
Use this boot param to lookup for network-specific ogClient
configuration when launching ogClient during ogLive booting process.
Diffstat (limited to 'src/rest.c')
-rw-r--r-- | src/rest.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1108,6 +1108,7 @@ static int og_set_client_mode(struct og_dbi *dbi, const char *mac, "' ogshare=', @serverip, " "' oglivedir=', ordenadores.oglivedir, " "' ogprof=', IF(ordenadores.idordenador=aulas.idordprofesor, 'true', 'false'), " + "' server=', @ipserveradm, " "IF(perfileshard.descripcion<>'', CONCAT(' hardprofile=', REPLACE(TRIM(perfileshard.descripcion), ' ', '_')), ''), " "IF(aulas.ntp<>'', CONCAT(' ogntp=', aulas.ntp), ''), " "IF(aulas.dns<>'', CONCAT(' ogdns=', aulas.dns), ''), " |