From 944b467387b3cb042b25820fd25b81d2b46867cd Mon Sep 17 00:00:00 2001 From: ramon Date: Tue, 22 Jan 2013 12:42:34 +0000 Subject: [PATCH] =?UTF-8?q?#573:=20Obtener=20variables=20para=20el=20tipo?= =?UTF-8?q?=20de=20cliente=20que=20debe=20generarse=20y=20desmontar=20siem?= =?UTF-8?q?pre=20la=20imagen=20antes=20de=20finalizar=20el=20proceso=20de?= =?UTF-8?q?=20creaci=C3=B3n.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/branches/version1.0@3488 a21b9725-9963-47de-94b9-378ad31fedc9 --- boottoolsgenerator.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/boottoolsgenerator.sh b/boottoolsgenerator.sh index 358cf66..b35fb36 100755 --- a/boottoolsgenerator.sh +++ b/boottoolsgenerator.sh @@ -18,7 +18,7 @@ #Variables -TYPECLIENT=host +TYPECLIENT="host" WORKDIR=/tmp/opengnsys_installer INSTALL_TARGET=/opt/opengnsys PROGRAMDIR=$(readlink -e $(dirname "$0")) @@ -43,7 +43,7 @@ echo "FASE 1 - Asignación de variables" #obtenemos las variables necesarias y la información del host. btogGetVar echoAndLog "OpenGnSys CLIENT installation begins at $(date)" -btogGetOsInfo +btogGetOsInfo $TYPECLIENT ########################################################################## echo "FASE 2 - Instalación de software adicional." cat /etc/apt/sources.list | grep "http://free.nchc.org.tw/drbl-core" || echo "deb http://free.nchc.org.tw/drbl-core drbl stable " >> /etc/apt/sources.list @@ -106,6 +106,7 @@ echo "Fase 8.1 Generar el initrd" btogFsInitrd echo "Fase 8.2 Generar fichero sqfs a partir del fichero img" btogFsSqfs +umount $BTROOTFSMNT 2>/dev/null echo "Fase 8.3 Generar la ISO" btogIsoGenerator ######################################################################3