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 | # createImageCustom |
---|
4 | #@brief Plantilla para scirpt de creación personalizada de imagen |
---|
5 | #@param $1 disco |
---|
6 | #@param $2 particion |
---|
7 | #@param $3 Repositorio: CACHE, REPO o dirección IP |
---|
8 | #@param $4 Nombre canónico de la imagen sin extensión |
---|
9 | #@warning Renombrar este fichero como "createImageCustom". |
---|
10 | |
---|
11 | |
---|
12 | # Control de parámetros. |
---|
13 | [ $# -eq 4 ] || exit |
---|
14 | |
---|
15 | # Parámetros. |
---|
16 | DISK="$1" |
---|
17 | PART="$2" |
---|
18 | REPO="${3^^}" # En mayúsculas. |
---|
19 | IMGNAME="$4" |
---|
20 | |
---|
21 | |
---|
22 | # Añadir aquí el código de creación personalizada. |
---|
23 | |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.