summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores/gestor_pxe.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-12-22 13:38:11 +0000
committerramon <ramongomez@us.es>2011-12-22 13:38:11 +0000
commitc3c7cb3ae6f6600223111a572050f34f2df6fa71 (patch)
tree96fce1db6bf64fee2845d3a48abcbe07d9937562 /admin/WebConsole/gestores/gestor_pxe.php
parent4caea352de0d0a19d4e0a2e2dd04980dd28e6be0 (diff)
Congelar versiĆ³n 1.0.2 en tags/opengnsys-1.0.2 (modifica #446).opengnsys-1.0.2
git-svn-id: https://opengnsys.es/svn/tags/opengnsys-1.0.2@2405 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/gestores/gestor_pxe.php')
-rw-r--r--admin/WebConsole/gestores/gestor_pxe.php29
1 files changed, 21 insertions, 8 deletions
diff --git a/admin/WebConsole/gestores/gestor_pxe.php b/admin/WebConsole/gestores/gestor_pxe.php
index f585a9d5..949ab5d7 100644
--- a/admin/WebConsole/gestores/gestor_pxe.php
+++ b/admin/WebConsole/gestores/gestor_pxe.php
@@ -65,16 +65,29 @@ $rs->Primero();
$router=$rs->campos["router"];
$netmask=$rs->campos["netmask"];
$repo=$rs->campos["iprepo"];
- $infohost=" ip="
- . $ip . ":"
- . $repo .":"
- . $router . ":"
- . $netmask .":"
- . $hostname .":"
- . $netiface . ":none ogrepo="
- . $repo;
$rs->Cerrar();
+$cmd->texto="SELECT ipserveradm from entornos";
+$rs=new Recordset;
+$rs->Comando=&$cmd;
+if (!$rs->Abrir()) echo "error";
+
+$rs->Primero();
+ $server=$rs->campos["ipserveradm"];
+$rs->Cerrar();
+
+$infohost=" ip="
+. $ip . ":"
+. $server .":"
+. $router . ":"
+. $netmask .":"
+. $hostname .":"
+. $netiface . ":none ogrepo="
+. $repo . " oglive="
+. $repo . " oglog="
+. $server . " ogshare="
+. $repo;
+
###################obtenemos las variables de red del aula.
#02.1 obtenemos nombre fichero mac