summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/tftputils.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-02-19 09:49:23 +0000
committerramon <ramongomez@us.es>2018-02-19 09:49:23 +0000
commit2211576c4ff097e9a8d9e265dbded9775bb99482 (patch)
tree14afe7cf30197fa70b169ec695bf8c2fdcb5371b /admin/WebConsole/includes/tftputils.php
parentcc8a098ed9f9d3fd330c1f486f99f391b81228d8 (diff)
#768 #828: Corregir erratas al crear plantillas PXE, evitando duplicado de directorio de ogLive y cadena {{{NULL}}} si no existe perfil de hardware.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5599 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/includes/tftputils.php')
-rw-r--r--admin/WebConsole/includes/tftputils.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/WebConsole/includes/tftputils.php b/admin/WebConsole/includes/tftputils.php
index b1087d70..55f7a871 100644
--- a/admin/WebConsole/includes/tftputils.php
+++ b/admin/WebConsole/includes/tftputils.php
@@ -145,8 +145,7 @@ function createBootMode ($cmd, $bootopt, $hostid, $lang) {
" ogrepo=$repo" .
" oglive=$server" .
" oglog=$server" .
- " ogshare=$server" .
- " oglivedir=$oglivedir";
+ " ogshare=$server";
// Añadir parámetros opcionales.
if (! empty ($ntp)) { $infohost.=" ogntp=$ntp"; }
if (! empty ($dns)) { $infohost.=" ogdns=$dns"; }