summaryrefslogtreecommitdiffstats
path: root/server/bin/setserveraddr
Commit message (Collapse)AuthorAgeFilesLines
* #1028 setserveraddr restarts ogserver service.Irina Gómez2021-02-161-1/+1
|
* #988 Fix setserveraddr json handlingJavier Sánchez Parra2020-10-241-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 scriptsRoberto Hueso Gómez2020-10-221-3/+5
| | | | | | | | 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>
* #986 More renaming to ogserverJavier Sánchez Parra2020-06-231-3/+3
| | | | | 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 ogClientJavier Sánchez Parra2020-06-021-4/+4
|
* #971 Remove ogAdmAgent initializationJavier Sánchez Parra2020-06-021-2/+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 scriptJavier Sánchez Parra2020-06-021-2/+6
| | | | This also removes the legacy ogAdmClient for these scripts.
* #957: `setserveraddr` uses the new global functions.Ramón M. Gómez2020-02-251-20/+12
|
* #946: Fix bug in commit `6640e2c` when `setservderaddr` parses configuration ↵Ramón M. Gómez2020-02-101-1/+1
| | | | parameters.
* #946: Script `setserveraddr` updates the interface parameter.Ramón M. Gómez2020-01-311-4/+6
|
* #816 856: Scripts `setserveraddr` and etclientmode` use common Shell ↵Ramón M. Gómez2019-10-291-4/+1
| | | | function file.
* #856: Fix bug when updating repository IP address.Ramón M. Gómez2019-10-291-45/+40
|
* #925: Only the installer uses {{{settoken}}} script to generate ↵Ramón M. Gómez2019-10-161-15/+1
| | | | authentication tokens.
* #915 update installer to add APITOKEN= to ogAdmServer.cfgJavier Sánchez Parra2019-06-241-0/+1
| | | | | | | | This is going to be used to protect calls to ogAdmServer Example line for ogAdmServer.cfg: APITOKEN=9b5fddfc5d4d1daa74ffd7ce7c3c9925
* #856: Improvements in {{{setserveraddr}}} script:Ramón M. Gómez2018-11-151-66/+95
| | | | | | * If Server is active, updating IP address in PXE files and database tables. * If Repository is active, generating new API token. * Supporting an IP address as input parameter.
* #730: Sustitución del nombre del proyecto en ficheros del servidor.ramon2017-06-281-2/+2
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5390 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.6b, #752: Corregir errata en script {{{setserveraddr}}} al ↵ramon2016-10-131-0/+1
| | | | | | modificar la configuración del fichero {{{ogAdmClient.cfg}}}. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5034 a21b9725-9963-47de-94b9-378ad31fedc9
* #730 #739: Cambios aplicados:ramon2016-03-141-1/+2
| | | | | | | | * Corregir errata en {{{setserveraddr}}} para tratar el fichero DHCP adecuado y establecer router por defecto si no existe. * Eliminar cambios temporales en {{{Vagrantfile}}} que corregían problemas de {{{setserveraddr}}}. * Actualizar lista de tickets resueltos. git-svn-id: https://opengnsys.es/svn/branches/version1.1@4824 a21b9725-9963-47de-94b9-378ad31fedc9
* Corregir errata en script {{{setserveraddr}}} al tratar algunas URL y forzar ↵ramon2016-03-141-1/+1
| | | | | | cambio a HTTPS. git-svn-id: https://opengnsys.es/svn/branches/version1.1@4823 a21b9725-9963-47de-94b9-378ad31fedc9
* Realizar la comprobación correcta para la configuración del DHCP en script ↵ramon2014-07-101-1/+1
| | | | | | {{{setserveraddr}}}. git-svn-id: https://opengnsys.es/svn/branches/version1.0@4342 a21b9725-9963-47de-94b9-378ad31fedc9
* Script {{{setserveraddr}}} permite cambiar de interfaz aunque no hayan ↵ramon2014-07-101-6/+9
| | | | | | cambiado los datos de configuración de red. git-svn-id: https://opengnsys.es/svn/branches/version1.0@4341 a21b9725-9963-47de-94b9-378ad31fedc9
* Corregir errata en script {{{setserveraddr}}} al crear cláusula ↵ramon2014-07-071-1/+1
| | | | | | {{{next-server}}} de DHCP. git-svn-id: https://opengnsys.es/svn/branches/version1.0@4320 a21b9725-9963-47de-94b9-378ad31fedc9
* #616: Rediseño del script {{{setserveraddr}}} para cambiar la IP del ↵ramon2014-06-061-25/+81
| | | | | | servidor principal y su repositorio, modificando los ficheros de configuracióin y la BD. git-svn-id: https://opengnsys.es/svn/branches/version1.0@4296 a21b9725-9963-47de-94b9-378ad31fedc9
* #586: Ampliar seguridad al resto de scripts que acceden a MySQL.ramon2013-03-121-1/+1
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.0@3682 a21b9725-9963-47de-94b9-378ad31fedc9
* #586: Aplicar seguridad de acceso a MySQL al script de actualización y ↵ramon2013-03-111-1/+4
| | | | | | corregida errata en {{{setserveraddr}}}. git-svn-id: https://opengnsys.es/svn/branches/version1.0@3679 a21b9725-9963-47de-94b9-378ad31fedc9
* #586: Aplicar seguridad de acceso a MySQL al script {{{setserveraddr}}}.ramon2013-03-111-1/+11
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.0@3678 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.3, #410: Nuevo comando {{{setserveraddr}}}, que automatiza el ↵ramon2012-01-251-0/+75
cambio de configuración por defecto del Server para otra interfaz de red. git-svn-id: https://opengnsys.es/svn/branches/version1.0@2463 a21b9725-9963-47de-94b9-378ad31fedc9