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
Rev | Line | |
---|
[3ec149c] | 1 | #!/bin/bash |
---|
| 2 | #_______________________________________________________________________________________________________________________________ |
---|
| 3 | # |
---|
| 4 | # PARAMETROS RECIBIDOS DESDE EL CLIENTE: |
---|
| 5 | # $1 disco |
---|
[d9d1720] | 6 | # $2 par=N�mero de particion |
---|
| 7 | # $3 Nombre can�nico de la imagen |
---|
[ad1f809] | 8 | # $4 Direcci�n IP del repositorio |
---|
| 9 | # $5 Protocolo UNICAST MULTICAST TORRENT |
---|
| 10 | # $6 Opciones del protocolo |
---|
[3ec149c] | 11 | #_______________________________________________________________________________________________________________________________ |
---|
| 12 | |
---|
[d2f28cf] | 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 $? |
---|
[c25ddaf] | 18 | fi |
---|
| 19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.