close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
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
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | TIME1=$SECONDS |
|---|
| 4 | PROG="$(basename $0)" |
|---|
| 5 | if [ $# -lt 4 ]; then |
|---|
| 6 | ogRaiseError $OG_ERR_FORMAT "$MSG_FORMAT: $PROG REPO imagen ndisco nparticion [ UNICAST|MULTICAST|TORRENT ] [opciones protocolo]" |
|---|
| 7 | exit $? |
|---|
| 8 | fi |
|---|
| 9 | |
|---|
| 10 | #controlar param1 REPO |
|---|
| 11 | echo "Realizando un updateCache REPO $2.img $5 $6" |
|---|
| 12 | updateCache REPO $2.img $5 $6 |
|---|
| 13 | RETVAL=$? |
|---|
| 14 | if [ "$RETVAL" != "0" ] |
|---|
| 15 | then |
|---|
| 16 | echo "fin del updateCache REPO $2.img $5 $6 con error $RETVAL" |
|---|
| 17 | # RC=15 No hay cache |
|---|
| 18 | # RC=16 no hay espacio sufiente |
|---|
| 19 | exit $RETVAL |
|---|
| 20 | |
|---|
| 21 | else |
|---|
| 22 | echo "iniciando un ogRestore CACHE desde deployImage" |
|---|
| 23 | ogRestoreImage CACHE /$2 $3 $4 |
|---|
| 24 | RETVAL=$? |
|---|
| 25 | [ "$RETVAL" == "0" ] && configureOs $2 $4 |
|---|
| 26 | exit $RETVAL |
|---|
| 27 | fi |
|---|
Note: See
TracBrowser
for help on using the repository browser.