summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-01-19 12:25:11 +0000
committerramon <ramongomez@us.es>2018-01-19 12:25:11 +0000
commit60459a1973a308dcf18dfc72df2b32e04f6d376e (patch)
treec40aeed22d57d468677bbe6c6908ee62f8bd9f17 /admin/WebConsole/gestores
parent38c6cc79c55c2d82366a148e7d47740df6604ef8 (diff)
#818: Llamar a la nueva funciĆ³n para modificar la IP del repositorio en todos los ficheros PXE de sus ordenadores asociados.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5564 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r--admin/WebConsole/gestores/gestor_repositorios.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/WebConsole/gestores/gestor_repositorios.php b/admin/WebConsole/gestores/gestor_repositorios.php
index e6574295..7008d6d5 100644
--- a/admin/WebConsole/gestores/gestor_repositorios.php
+++ b/admin/WebConsole/gestores/gestor_repositorios.php
@@ -15,6 +15,7 @@ include_once("../clases/ArbolVistaXML.php");
include_once("../includes/CreaComando.php");
include_once("../includes/constantes.php");
include_once("../includes/opciones.php");
+include_once("../includes/tftputils.php");
include_once("./relaciones/repositorios_eliminacion.php");
//________________________________________________________________________________________________________
$opcion=0; // Inicializa parametros
@@ -148,6 +149,9 @@ function Gestiona(){
case $op_modificacion:
$cmd->texto="UPDATE repositorios SET nombrerepositorio=@nombrerepositorio,ip=@ip,passguor=@passguor,puertorepo=@puertorepo,comentarios=@comentarios, apikey=@apiKeyRepo WHERE idrepositorio=@idrepositorio";
$resul=$cmd->Ejecutar();
+ if ($resul) {
+ updateBootRepo($cmd, $idrepositorio);
+ }
break;
case $op_eliminacion :
$resul=Eliminarepositorios($cmd,$idrepositorio,"idrepositorio");