summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-10-22 10:44:02 +0200
committerIrina Gómez <irinagomez@us.es>2019-10-22 10:44:02 +0200
commitd661fb52aebc269cc9dad01c674cdb2820abe78c (patch)
treec9e3b08492c47d1ba2aaf2945d5d48a83f6f2a9e /installer
parent71b7511ae896d0f39cf619a2ccbff8bc90d786a3 (diff)
#802 #888 PXE templates support EFI partition in whichever partition. Example template for boot with grub.
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/opengnsys_import.sh2
-rwxr-xr-xinstaller/opengnsys_update.sh2
2 files changed, 0 insertions, 4 deletions
diff --git a/installer/opengnsys_import.sh b/installer/opengnsys_import.sh
index 528b8c3e..30df2f37 100755
--- a/installer/opengnsys_import.sh
+++ b/installer/opengnsys_import.sh
@@ -327,8 +327,6 @@ if [ -f $OPENGNSYS/tftpboot/menu.lst/templates/01 ]; then
BIOSPXEDIR="$OPENGNSYS/tftpboot/menu.lst/templates"
mv $BIOSPXEDIR/01 $BIOSPXEDIR/10
sed -i "s/\bMBR\b/1hd/" $BIOSPXEDIR/10
- sed -i "s/\b1hd-1partition\b/1hd-1os/" $BIOSPXEDIR/11
- sed -i "s/\b1hd-2partition\b/1hd-2os/" $BIOSPXEDIR/12
# Cambiamos el valor en la base de datos. Si no lo hacemos desaparecen de las columnas del NetBootAvanzado.
mysql --defaults-extra-file=$MYCNF -D "$CATALOG" -e "update ordenadores set arranque='10' where arranque='01';" &>/dev/null
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index b418b639..5c74b987 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -943,8 +943,6 @@ function updateServerFiles()
BIOSPXEDIR="$INSTALL_TARGET/tftpboot/menu.lst/templates"
mv $BIOSPXEDIR/01 $BIOSPXEDIR/10
sed -i "s/\bMBR\b/1hd/" $BIOSPXEDIR/10
- sed -i "s/\b1hd-1partition\b/1hd-1os/" $BIOSPXEDIR/11
- sed -i "s/\b1hd-2partition\b/1hd-2os/" $BIOSPXEDIR/12
fi
}