summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/varios
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-08-13 14:02:37 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-08-14 12:59:17 +0200
commit3aadac3b9b8412ac91095ef8586605fe3da0d8b7 (patch)
tree4e8a4f7cf419b316eed79da8c695c20b61e397dc /admin/WebConsole/varios
parent179e1b1d53ef3d6c964af445c66d423e56cf76c1 (diff)
#980 Update POST /mode to the new ogServer API
This patch selects the machines whose modes need to be changed using the client's IP rather than their scope names.
Diffstat (limited to 'admin/WebConsole/varios')
-rw-r--r--admin/WebConsole/varios/incorporaordenadores.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/varios/incorporaordenadores.php b/admin/WebConsole/varios/incorporaordenadores.php
index 6a4cc20c..cd3d56ce 100644
--- a/admin/WebConsole/varios/incorporaordenadores.php
+++ b/admin/WebConsole/varios/incorporaordenadores.php
@@ -202,7 +202,7 @@ function Inserta($cmd,$idaula,$nombre,$lamac,$laip)
// Crear fichero de arranque PXE con plantilla por defecto.
if ($resul) {
- createBootMode ($cmd, "", $nombreordenador, $idioma);
+ createBootMode ($cmd, "", $ip, $idioma);
}
return($resul);
}