| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| | |
opengnsys.es:/opt/git/opengnsys into ID-1039_Asignar_Disco.Particion.Imagen.AccesoRemoto
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Webconsole parses ogagent.log searching an IP without terminator
character. Thus, it takes entries with the selected IP and with IPs that
start as the selected IP. For example, if it searches for
10.1.30.10, it shows entries of 10.1.30.10, 10.1.30.100, 10.1.30.101...
Fix ogagent.log parser to only show entries of the selected IP.
|
| |
| |
| |
| |
| |
| | |
Adds ogServer wol state, used to report WoL packet sending. This state
can timeout (returning to off) or change to a new state after clients
report a new one.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RemotePC API queues commands only inserting them in the database and
expects ogServer to find them and send them to its respective clients.
Since v1.2.0, ogServer do not seek the database periodically searching
for pending commands. Now ogServer expose an HTTP API to queue commands.
This commit adapts RemotePC API to use new ogServer queue API.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
poweroffconf is checking if the system is idle by doing a pgrep of
processes starting with "/opt/opengnsys/" and ignoring the ones
containing $OGETC or "poweroffconf".
ogclient process always falls under this process lookup thus making
the system seem as always active.
Ignore the ogclient process when checking if the system is not idle.
|
| |
| |
| |
| | |
versions name format.
|
| |
| |
| |
| |
| | |
The choice of ogLive is commented for compatibility with the new version of ogClient.
The work directory name changes with the new versions name format.
|
| | |
|
| | |
|
| |
| |
| |
| | |
resolve'.
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
| |
Commit afbfe2a introduced create_schedule_now for commands. Adapt
procedures and task to use it instead. Drop $when variable as it is no
longer needed for "immediate scheduling" execution of commands,
procedures or tasks.
Fixes: afbfe2a (Use create_schedule_now for immediate logged commands)
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid stale commands from being executed when given a time schedule that
include past dates, ie. when they are manually scheduled.
Use create_schedule_now for immediate execution commands (no manual
schedule) that the user want to be logged (by automatic scheduling to
the right moment they are processed).
Fixes #1032 (https://opengnsys.es/trac/ticket/1032#comment:2)
|
| |
|
| |
|
| |
|
|
|
|
| |
distribution is different than advised.
|
|
|
|
| |
The operation isn't remove on timeout.
|
|
|
|
| |
OpenGnsys version prerequisites; in case of update, they also show the current version.
|
|
|
|
| |
to defined clients.
|
|
|
|
|
| |
Fixes that include global variables, required to add the operating system startup to the action queue.
This route is defined in swagger.
|
|
|
|
|
|
|
|
|
|
| |
Setup (Particionar y Formatear) forms do not show new features clearly.
Table type selector goes unnoticed and change disk button might be taken
(incorrectly) as the accept button.
This commit improves user experience of the setup command form:
* Highlights and centers table type selector.
* Changes text of change disk button.
|
|
|
|
|
|
| |
'inremotepc' is removed.
(Reported by Ramón Gómez - US).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's been reported that some UEFI implementations of several
manufacturers do not comply with the standard and behave oddly.
In this case it has been noted that when a BootEntry was created
(with efibootmgr) but not added to the BootOrder this new entry did not
survive a reboot. Thus, UEFI booting of a client from the ogLive menu was not
possible.
Adjust calling ogNvramAddEntry so that it adds the new entry to the
BootOrder, but in last place so network boot, usually first option,
remains in place.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Webconsole is directly querying the database to build the payload for
requesting the ogServer a Wake On Lan.
ogServer is expected to query the database for the netmask and mac
parameters. Do not require the client request to have such parameters.
Adjust calls to the wol php method by other OpenGnsys components.
Fixes: a35b7c4 ("#990 Use client broadcast address on WoL")
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
If the logrotate files for opengnsys indicate to rotate files that
do not exist, the process ignores them and continues with the next one.
The missingok clause is added to the logrotate configuration files.
|
|
|
|
|
|
|
|
|
|
| |
UMA report that "delete cached image" and "partition asistant" commands
in queue mode do not work (non-queue mode works fine).
WebConsole decodes and handles quirks of shell command parameters only
when it is not queued. See shell() at restfunctions.php.
Add shell command parameters decoding and handling when queued.
|
|
|
|
|
|
|
| |
Some distros enable *.* in syslog.conf to add all logging information to
/var/log/syslog. The existing LOG_INFO syslog() entry that WebConsole
generates fill up the log files very quickly. It writes every time
WebConsole calls ogServer. Remove the LOG_INFO syslog() call.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Apache reports:
[Tue Dec 22 12:07:01.664403 2020] [proxy_fcgi:error] [pid 1386] [client
10.1.12.17:46950] AH01071: Got error 'PHP message: PHP Notice:
Undefined variable: cadenaid in
/opt/opengnsys/www/comandos/Configurar.php on line 158\nPHP message: PHP
Notice: Undefined variable: mindisks in
/opt/opengnsys/www/comandos/Configurar.php on line 201\n'
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WebConsole "Partition and Format"/"Particionar y Formatear" supported
more than 4 partitions when it used SocketHidra. When we changed it to
use HTTP requests we introduced a limit of 4 partitions.
This commit:
* Restores "Partition and Format" support for more than 4 partitions.
* Adapts client-side checks (JavaScript) for more than 4 partitions and
GPT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a computer info is updated sometimes their related pxe files need
to be updated accordingly.
In order to recreate the file the function createBootMode was being
used inside gestor_ordenadores.
Eg: createBootMode ($cmd, $arranque, $ip, $idioma)
This had some problems because the POST message to gestor_ordenadores
was sometimes lacking the ip field. This field is not necessary because
updateBootMode takes the id of the computer and queries the database for
the ip of the computer associated with it.
Use updateBootMode ($cmd, "idordenador", $idordenador, $idioma) instead.
Fixes related mass updater and "moving pc to another classroom" issues.
|