diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-15 11:06:07 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-15 11:08:06 +0200 |
commit | 1d36d6c6520d41b3afe7dbebe3ef4846d54392af (patch) | |
tree | d74560542b5c70c05fe4e91238fba84d5ad32ef4 /src | |
parent | 65b397f59fd39b742c56a9be7da4b8bce8b88eb1 (diff) |
Revert "rest: add fetch param to boot mode configuration"v1.2.5-23
Some equipment reports this error:
Error 28: Selected item cannot fit into memory
because line is too long, revert this commit until there is a better way
to add fetch= only on new live images.
Diffstat (limited to 'src')
-rw-r--r-- | src/rest.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1573,7 +1573,7 @@ static int og_get_client_mode_params(struct og_dbi *dbi, const char *mac, char * } snprintf(params, params_size, - " LANG=%s ip=%s:%s:%s:%s:%s:%s:none group=%s ogrepo=%s oglive=%s oglog=%s ogshare=%s oglivedir=%s ogprof=%s server=%s fetch=http://%s/%s/filesystem.squashfs" + " LANG=%s ip=%s:%s:%s:%s:%s:%s:none group=%s ogrepo=%s oglive=%s oglog=%s ogshare=%s oglivedir=%s ogprof=%s server=%s" "%s%s%s%s%s%s%s%s%s%s%s%s", lang, boot_params.ip, server_ip, boot_params.router, boot_params.netmask, boot_params.nombreordenador, boot_params.netiface, @@ -1583,8 +1583,6 @@ static int og_get_client_mode_params(struct og_dbi *dbi, const char *mac, char * boot_params.oglivedir, boot_params.is_prof ? "true" : "false", server_ip, - repository_ip, - boot_params.oglivedir, boot_params.hardprofile[0] ? " hardprofile=" : "", boot_params.hardprofile[0] ? boot_params.hardprofile: "", boot_params.ntp[0] ? " ogntp=" : "", boot_params.ntp[0] ? boot_params.ntp : "", boot_params.dns[0] ? " ogdns=" : "", boot_params.dns[0] ? boot_params.dns : "", |