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 | # |
---|
4 | # PARAMETROS RECIBIDOS DESDE EL CLIENTE: |
---|
5 | # $1 disco |
---|
6 | # $2 par=N�mero de particion |
---|
7 | # $3 Nombre can�nico de la imagen |
---|
8 | # $4 Direcci�n IP del repositorio |
---|
9 | # $5 Protocolo UNICAST MULTICAST TORRENT |
---|
10 | # $6 Opciones del protocolo |
---|
11 | #_______________________________________________________________________________________________________________________________ |
---|
12 | |
---|
13 | # Si existe, ejecuta script personalizado "deployImageCustom"; si no, llama al genérico "deployImage". |
---|
14 | if which deployImageCustom &>/dev/null; then |
---|
15 | deployImageCustom "$4" "$3" "$1" "$2" "$5" "$6" "$7" "$8" || exit $? |
---|
16 | else |
---|
17 | deployImage "$4" "$3" "$1" "$2" "$5" "$6" "$7" "$8" || exit $? |
---|
18 | fi |
---|
19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.