summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/varios
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-03-15 13:12:02 +0100
committerIrina Gómez <irinagomez@us.es>2019-03-15 13:12:02 +0100
commit831de70ba49f7a66ff3ebbe2ad4716a2d2d3fa11 (patch)
tree3aa32db66fafc48a806824bd15c4b01a348350db /admin/WebConsole/varios
parentb7dc4ace681f54c04252b26ed29027b1ea74e595 (diff)
#802 #888 When the computer or repo propierties change, the console regenerate the PXE files for bios and uefi.
Diffstat (limited to 'admin/WebConsole/varios')
-rw-r--r--admin/WebConsole/varios/incorporaordenadores.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/WebConsole/varios/incorporaordenadores.php b/admin/WebConsole/varios/incorporaordenadores.php
index 2615fbad..8bf52f6b 100644
--- a/admin/WebConsole/varios/incorporaordenadores.php
+++ b/admin/WebConsole/varios/incorporaordenadores.php
@@ -193,8 +193,7 @@ function Inserta($cmd,$idaula,$nombre,$lamac,$laip)
// Crear fichero de arranque PXE con plantilla por defecto.
if ($resul) {
- $idordenador=$cmd->Autonumerico();
- createBootMode ($cmd, "", $idordenador, $idioma);
+ createBootMode ($cmd, "", $nombreordenador, $idioma);
}
return($resul);
}