Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #986: Updating help and messages from script `setclientmode`. | Ramón M. Gómez | 2021-03-09 | 1 | -11/+11 |
| | |||||
* | #1028 setserveraddr restarts ogserver service. | Irina Gómez | 2021-02-16 | 1 | -1/+1 |
| | |||||
* | #1009 Add ogclient.json update to setsmbpass | Javier Sánchez Parra | 2020-12-01 | 1 | -0/+3 |
| | | | | | | | | | ogclient.json has samba user and pass because ogVDI needs them to upload qcow2 images to the repository. setsmbpass sets user and pass and updates ogLives to match. If a user executes setsmbpass, then ogclient.json samba info becomes outdated. Add ogclient.json samba user and pass update to setsmbpass script. | ||||
* | #1009 Fix ogclient.json ownership and permissions | Javier Sánchez Parra | 2020-11-30 | 1 | -0/+2 |
| | | | | | ogclient.json has the samba password in plain text. This commit changes ownership and permissions to improve the security. | ||||
* | #988 checkperms sets permissions on ogserver.json | Irina Gómez | 2020-11-17 | 1 | -2/+2 |
| | |||||
* | #997: Fix oglivecli. | Irina Gómez | 2020-11-05 | 1 | -1/+1 |
| | | | | | The script was not detecting the Initrd compression program, could not get the samba password and needed to ask for it. | ||||
* | #988 Fix settoken json handling | Irina Gómez | 2020-10-29 | 1 | -0/+1 |
| | | | | source_json_config loads config values. | ||||
* | #988 Fix setserveraddr json handling | Javier Sánchez Parra | 2020-10-24 | 1 | -3/+13 |
| | | | | | | | | setserveraddr script modified ogserver.json values with "sed". This caused unwanted changes in database.ip. This commit replaces "sed" with "jq" for modifying ogserver.json, ensuring only rest.ip and wol.interface values change. | ||||
* | #988 Read json config file in scripts | Roberto Hueso Gómez | 2020-10-22 | 8 | -19/+19 |
| | | | | | | | | This patch implements the function source_json_config() that is used to read the new ogserver.json config file in the scripts. This replaces the old 'source .../ogserver.cfg'. Co-authored-by: Javier Sánchez Parra <jsanchez@soleta.eu> | ||||
* | #988 remove reference to ogserver.cfg setclientmode | OpenGnSys Support Team | 2020-10-16 | 1 | -1/+0 |
| | | | | Not used, and now there is a configuration ogserver.json | ||||
* | #988 Adapt settoken to the new json config file | Roberto Hueso Gómez | 2020-10-16 | 1 | -3/+2 |
| | | | | This patch sets the renewed api_token in the config file ogserver.json | ||||
* | #993 Fix oglivedir parse in setclientmode script | Roberto Hueso Gómez | 2020-10-02 | 1 | -3/+3 |
| | | | | | | | This awk expressions is parsing a key1=value1 key2=value2... expression. For example one of the 'awk' in this patch looks for the key "oglivedir" and parses the value of that key correctly. | ||||
* | #997: Fix variable name in commit `0e3e167`. | Ramón M. Gómez | 2020-09-03 | 1 | -2/+2 |
| | |||||
* | #997: Support for Initrd compressed in several formats. | Ramón M. Gómez | 2020-09-03 | 4 | -10/+17 |
| | | | | Adding compatibility with Ubuntu 20.04 Initrd, which is compressed in LZ4 format. | ||||
* | #993 Adapt setclientmode script to use a config file | Roberto Hueso Gómez | 2020-07-29 | 1 | -68/+17 |
| | | | | | This config file contains the parameters needed in order to run the script without the need to make any queries to the database. | ||||
* | #986 More renaming to ogserver | Javier Sánchez Parra | 2020-06-23 | 11 | -14/+14 |
| | | | | | Another step into renaming all references of ogAdmServer to ogServer. This commit mostly rename references to ogAdmServer.cfg in scripts. | ||||
* | #980 use json file format in ogClient | Javier Sánchez Parra | 2020-06-02 | 1 | -4/+4 |
| | |||||
* | #971 Remove ogAdmAgent initialization | Javier Sánchez Parra | 2020-06-02 | 2 | -4/+2 |
| | | | | | | | | | | | All the functionalities of the ogAdmAgent are now in the ogAdmServer. So, the it is not needed anymore. This commit remove the installation and update of the ogAdmAgent, adds a check to remove it if exists and removes it from the OpenGnsys init script. A future patch will remove all the code related to the ogAdmAgent. | ||||
* | #980 Add ogClient to the installer and update the setserveraddr script | Javier Sánchez Parra | 2020-06-02 | 1 | -2/+6 |
| | | | | This also removes the legacy ogAdmClient for these scripts. | ||||
* | #965: `oglivecli rebuild` detects short directory names. | Ramón M. Gómez | 2020-03-04 | 1 | -8/+9 |
| | |||||
* | #965: `oglivecli install` uses shorter directory names. | Ramón M. Gómez | 2020-03-04 | 1 | -4/+7 |
| | |||||
* | #488 #959 comparedhcpopengnsys: Fixes error when computer definition was in ↵ | Irina Gómez | 2020-03-03 | 1 | -6/+29 |
| | | | | one line. | ||||
* | #955: Correct quoting of input parameters. | Ramón M. Gómez | 2020-03-02 | 1 | -2/+2 |
| | |||||
* | #955: `addtodhcp` script checks if all routers are defined in DHCP ↵ | Ramón M. Gómez | 2020-02-27 | 1 | -2/+7 |
| | | | | configuration file. | ||||
* | #957: `comparedhcpopengnsys` script adapted to common functions. | Ramón M. Gómez | 2020-02-25 | 2 | -38/+30 |
| | |||||
* | #957: `ogagentqueue` cron script adapted to common functions. | Ramón M. Gómez | 2020-02-25 | 1 | -28/+11 |
| | |||||
* | #957: `setsmbpass` script adapted to common functions. | Ramón M. Gómez | 2020-02-25 | 1 | -20/+16 |
| | |||||
* | #957: `setserveraddr` uses the new global functions. | Ramón M. Gómez | 2020-02-25 | 2 | -21/+13 |
| | |||||
* | #957 #958: `setclientlive` and `setclientmode` script are adapted to global ↵ | Ramón M. Gómez | 2020-02-25 | 2 | -110/+77 |
| | | | | functions and avoid SQL injectionn. | ||||
* | #959: Remove duplicate script. | Ramón M. Gómez | 2020-02-24 | 1 | -9/+0 |
| | |||||
* | #957: Script `comparemac` uses common server functions. | Ramón M. Gómez | 2020-02-18 | 1 | -30/+27 |
| | |||||
* | #957 #958: Script `settoken`: use `version` function and avoid SQL injection. | Ramón M. Gómez | 2020-02-18 | 1 | -9/+10 |
| | |||||
* | #957: Script `registeredsoftware`: use common server functions and avoid SQL ↵ | Ramón M. Gómez | 2020-02-18 | 1 | -38/+16 |
| | | | | injection. | ||||
* | #958: Avoid SQL injection in `addtodhcp` and `listclientlive`. | Ramón M. Gómez | 2020-02-18 | 2 | -4/+5 |
| | |||||
* | #957: Script `listclientmode` uses common server functions. | Ramón M. Gómez | 2020-02-18 | 1 | -36/+28 |
| | |||||
* | #957: Script `listclientlive` uses common server functions. | Ramón M. Gómez | 2020-02-18 | 1 | -36/+21 |
| | |||||
* | #768: `oglivecli check` verifies if the linked directory matches the one ↵ | Ramón M. Gómez | 2020-02-18 | 1 | -0/+3 |
| | | | | defined by default. | ||||
* | #957 #768: Improvements in `oglivecli` script: display proper help of ↵ | Ramón M. Gómez | 2020-02-18 | 1 | -50/+48 |
| | | | | parameters, raise error if a file cannot be downloaded, standardized error messages. | ||||
* | #957: Adapt `oglivecli` script to global functions. | Ramón M. Gómez | 2020-02-17 | 1 | -66/+32 |
| | |||||
* | #955: New script `addtodhcp`to update the DHCP configuration file using the ↵ | Ramón M. Gómez | 2020-02-14 | 1 | -0/+97 |
| | | | | database data. | ||||
* | #946: Fix bug in commit `6640e2c` when `setservderaddr` parses configuration ↵ | Ramón M. Gómez | 2020-02-10 | 1 | -1/+1 |
| | | | | parameters. | ||||
* | #946: Script `setserveraddr` updates the interface parameter. | Ramón M. Gómez | 2020-01-31 | 1 | -4/+6 |
| | |||||
* | #811 setclientmode: Fixs error when call function getcaller. | Irina Gómez | 2020-01-21 | 1 | -1/+1 |
| | |||||
* | #914 #811 setclientmode: Fix error for temporary change of PXE file. Adds ↵ | Irina Gómez | 2019-12-05 | 1 | -1/+6 |
| | | | | permission to be call from console, for example with 'Ejecutar script' . | ||||
* | #925: Script `settoken` changes REST token for users. | Ramón M. Gómez | 2019-11-11 | 1 | -23/+30 |
| | |||||
* | #816 856: Scripts `setserveraddr` and etclientmode` use common Shell ↵ | Ramón M. Gómez | 2019-10-29 | 2 | -36/+19 |
| | | | | function file. | ||||
* | #816: Define a new shell parameter to know if client is defined as a ↵ | Ramón M. Gómez | 2019-10-29 | 1 | -3/+4 |
| | | | | teaching computer. | ||||
* | #856: Fix bug when updating repository IP address. | Ramón M. Gómez | 2019-10-29 | 2 | -47/+42 |
| | |||||
* | #925: Only the installer uses {{{settoken}}} script to generate ↵ | Ramón M. Gómez | 2019-10-16 | 2 | -17/+5 |
| | | | | authentication tokens. | ||||
* | #915 Change WebConsole to read API token from ogAdmServer.cfg | Javier Sánchez Parra | 2019-10-14 | 1 | -4/+4 |
| | | | | | | | | | | This commit changes restfunctions.php to read the API token of ogAmdServer from ogAdmRepo.cfg to ogAdmServer.cfg. This way it avoids possible communication errors if ogAdmRepo.cfg and ogAdmServer.cfg are desynced. In order to restfuntions.php can read ogAdmServer.cfg this commit also changes the permissions of the file. |