source: client/shared/scripts/deployImage @ 9e63173

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 9e63173 was d196782, checked in by adv <adv@…>, 14 years ago

version 1.0.1 #381 codigos error

git-svn-id: https://opengnsys.es/svn/branches/version1.0@1948 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 546 bytes
Line 
1#!/bin/bash
2
3TIME1=$SECONDS
4PROG="$(basename $0)"
5if [ $# -lt 4 ]; then
6    ogRaiseError $OG_ERR_FORMAT "$MSG_FORMAT: $PROG REPO imagen ndisco nparticion [ UNICAST|MULTICAST|TORRENT ] [opciones protocolo]"
7    exit $?
8fi
9
10#controlar param1 REPO
11
12updateCache REPO $2.img $5 $6
13RC=$?
14if [ "$RC" != "0" ]
15then
16        echo "fin del updateCache REPO $2.img $5 $6 con error $RC"
17        # RC=15 No hay cache
18        # RC=16 no hay espacio sufiente
19        exit $RC
20       
21else
22        echo "iniciando un ogRestore CACHE desde deployImage"
23        ogRestoreImage CACHE $2 $3 $4
24        ogExtendFs $3 $4
25fi
Note: See TracBrowser for help on using the repository browser.