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
|
OGCLIENTCFG=/tmp/ogclient.cfg
|
||||||
case "${1,,}" in
|
case "${1,,}" in
|
||||||
lenny)
|
precise) # ogLive 1.0.4-rc2 basado en Ubuntu 12.04 LTS.
|
||||||
OSDISTRIB="debian"
|
|
||||||
OSCODENAME="lenny"
|
|
||||||
OSRELEASE="2.6.28-11-generic"
|
|
||||||
OSARCH="i386"
|
|
||||||
OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
|
|
||||||
;;
|
|
||||||
lucid)
|
|
||||||
OSDISTRIB="ubuntu"
|
OSDISTRIB="ubuntu"
|
||||||
OSCODENAME="lucid"
|
OSCODENAME="precise"
|
||||||
OSRELEASE="2.6.32-21-generic-pae"
|
OSRELEASE="3.2.0-23-generic"
|
||||||
OSARCH="i386"
|
OSARCH="i386"
|
||||||
OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
|
OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
|
||||||
;;
|
;;
|
||||||
quantal)
|
quantal) # ogLive 1.0.5-rc2 basado en Ubuntu 12.10 con Kernel descargado.
|
||||||
OSDISTRIB="ubuntu"
|
OSDISTRIB="ubuntu"
|
||||||
OSCODENAME="quantal"
|
OSCODENAME="quantal"
|
||||||
OSRELEASE="3.7.6-030706-generic"
|
OSRELEASE="3.7.6-030706-generic"
|
||||||
OSARCH="i386"
|
OSARCH="i386"
|
||||||
OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
|
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)
|
OSDISTRIB=$(lsb_release -is)
|
||||||
OSCODENAME=$(lsb_release -cs)
|
OSCODENAME=$(lsb_release -cs)
|
||||||
OSRELEASE=$(uname -a | awk '{print $3}')
|
OSRELEASE=$(uname -a | awk '{print $3}')
|
||||||
|
|
|
@ -27,6 +27,9 @@ then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
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-openssl
|
||||||
install python
|
install python
|
||||||
install dmidecode
|
install dmidecode
|
||||||
install hwinfo
|
#install hwinfo
|
||||||
install realpath
|
install realpath
|
||||||
|
|
Loading…
Reference in New Issue