Adaptar la generación del cliente ogLive a Ubuntu 14.04.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4257 a21b9725-9963-47de-94b9-378ad31fedc9remotes/github/master
parent
188060eb44
commit
8428ee5223
|
@ -47,28 +47,42 @@ function btogGetOsInfo ()
|
|||
{
|
||||
OGCLIENTCFG=/tmp/ogclient.cfg
|
||||
case "${1,,}" in
|
||||
lenny)
|
||||
OSDISTRIB="debian"
|
||||
OSCODENAME="lenny"
|
||||
OSRELEASE="2.6.28-11-generic"
|
||||
OSARCH="i386"
|
||||
OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
|
||||
;;
|
||||
lucid)
|
||||
precise) # ogLive 1.0.4-rc2 basado en Ubuntu 12.04 LTS.
|
||||
OSDISTRIB="ubuntu"
|
||||
OSCODENAME="lucid"
|
||||
OSRELEASE="2.6.32-21-generic-pae"
|
||||
OSCODENAME="precise"
|
||||
OSRELEASE="3.2.0-23-generic"
|
||||
OSARCH="i386"
|
||||
OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
|
||||
;;
|
||||
quantal)
|
||||
quantal) # ogLive 1.0.5-rc2 basado en Ubuntu 12.10 con Kernel descargado.
|
||||
OSDISTRIB="ubuntu"
|
||||
OSCODENAME="quantal"
|
||||
OSRELEASE="3.7.6-030706-generic"
|
||||
OSARCH="i386"
|
||||
OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
|
||||
;;
|
||||
host | *)
|
||||
raring) # ogLive 1.0.5-rc3 basado en Ubuntu 13.04.
|
||||
OSDISTRIB="ubuntu"
|
||||
OSCODENAME="raring"
|
||||
OSRELEASE="3.8.0-22-generic"
|
||||
OSARCH="i386"
|
||||
OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
|
||||
;;
|
||||
wheezy) # ogLive basado en Debian 7.3.
|
||||
OSDISTRIB="debian"
|
||||
OSCODENAME="wheezy"
|
||||
OSRELEASE="3.2.0-4-i386"
|
||||
OSARCH="i386"
|
||||
OSHTTP="http://ftp.es.debian.org/debian/"
|
||||
;;
|
||||
trusty) # ogLive 1.0.5-rc4 basado en Ubuntu 14.04.
|
||||
OSDISTRIB="ubuntu"
|
||||
OSCODENAME="trusty"
|
||||
OSRELEASE="3.13.0-24-generic"
|
||||
OSARCH="i386"
|
||||
OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
|
||||
;;
|
||||
host | *) # ogLive basado en la distribución del servidor.
|
||||
OSDISTRIB=$(lsb_release -is)
|
||||
OSCODENAME=$(lsb_release -cs)
|
||||
OSRELEASE=$(uname -a | awk '{print $3}')
|
||||
|
|
|
@ -27,6 +27,9 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Cambiar a directorio temporal.
|
||||
cd /tmp
|
||||
|
||||
for i in `mount | grep IMGogclient | grep /var | cut -f3 -d" "`; do echo $i; umount $i; done
|
||||
for i in `mount | grep IMGogclient | grep /var | cut -f3 -d" "`; do echo $i; umount $i; done
|
||||
for i in `mount | grep IMGogclient | grep /var | cut -f3 -d" "`; do echo $i; umount $i; done
|
||||
|
|
|
@ -14,5 +14,5 @@ install subversion
|
|||
install python-openssl
|
||||
install python
|
||||
install dmidecode
|
||||
install hwinfo
|
||||
#install hwinfo
|
||||
install realpath
|
||||
|
|
Loading…
Reference in New Issue