cn:ccr:cloud:toolpercreazioneimmaginecloud
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| cn:ccr:cloud:toolpercreazioneimmaginecloud [2013/09/10 09:57] – dorigoa@infn.it | cn:ccr:cloud:toolpercreazioneimmaginecloud [2013/10/22 10:07] (current) – dorigoa@infn.it | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | (WORK IN PROGRESS...) | ||
| + | ===== Tool per l' | ||
| + | * Alvise Dorigo (INFN Padova) | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | Questo tool, scritto in perl, automatizza la procedura descritta [[http:// | ||
| + | |||
| + | Tanto per farsi un' | ||
| + | |||
| + | <code bash> | ||
| + | [root@lxadorigo ~]# ./ | ||
| + | Usage: create-cloud-image [OPTIONS] <OS> | ||
| + | |||
| + | Options: | ||
| + | --fake-run | ||
| + | just print them | ||
| + | |||
| + | --help|-H | ||
| + | |||
| + | --verbose|-v | ||
| + | |||
| + | --root-pwd|-P < | ||
| + | |||
| + | --libdir|-L < | ||
| + | (Default: HOME/ | ||
| + | |||
| + | --mount-point < | ||
| + | (Default: / | ||
| + | |||
| + | --mirror|-m < | ||
| + | (See below for defaults) | ||
| + | |||
| + | --size|-s < | ||
| + | (Default: 2 GB) | ||
| + | |||
| + | --image-name|-n < | ||
| + | (Default: OS's name) | ||
| + | |||
| + | --extra-packages|-e | ||
| + | rpm pkgs to install | ||
| + | |||
| + | --extra-pkikeys|-e | ||
| + | PKI (local or remote) GPG KEY files to install | ||
| + | |||
| + | --create-user|-u < | ||
| + | < | ||
| + | |||
| + | --upload < | ||
| + | atuhenticated into keystone) | ||
| + | |||
| + | --filesystem|-f < | ||
| + | filesystem | ||
| + | |||
| + | --locale < | ||
| + | with the directories contained in | ||
| + | / | ||
| + | " | ||
| + | |||
| + | --install-ntp | ||
| + | |||
| + | --ntp-servers < | ||
| + | to put into the ntp configuration file | ||
| + | (Default: european servers) | ||
| + | |||
| + | --overwrite | ||
| + | where to put the artifacts | ||
| + | |||
| + | --donotupdate | ||
| + | |||
| + | --donotcreate-ec2user | ||
| + | |||
| + | Supported OS are: " | ||
| + | |||
| + | Default mirrors are: | ||
| + | CentOS: http:// | ||
| + | SL: | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | Quindi e' possibile: | ||
| + | * scegliere un mirror da cui scaricare il software da installare | ||
| + | * scegliere la dimensione iniziale dell' | ||
| + | * impostare un eventuale utente non super-user; di default lo script crea ec2-user (operazione disattivabile con l' | ||
| + | * installare eventuali pacchetti rpm addizionali (e.g. tools di sviluppo, pacchetti grid, etc.) | ||
| + | * installare eventuali chiavi GPG addizionali | ||
| + | * settare il timezone | ||
| + | * installare opzionalmente il repo di EPEL (con relativa chiave GPG) | ||
| + | * impostare i server NTP e relativo demone | ||
| + | * etc. | ||
| + | |||
| + | Ovviamente lo strumento e' ancora sotto sviluppo per l' | ||
| + | |||
| + | Per info: alvise <DOT> dorigo <AT> pd <DOT> infn <DOT> it | ||
| + | |||
| + | Un ringraziamento a Marco Caberletti (@CNAF) per il supporto tecnico e il " | ||
