Changes between Version 25 and Version 26 of EGIFedCloud
- Timestamp:
- Mar 18, 2016 11:41:56 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EGIFedCloud
v25 v26 49 49 }}} 50 50 51 * Configuramos la VM inutilizado [cloud 51 * Configuramos la VM inutilizado [cloud-config https://coreos.com/os/docs/latest/cloud-config.html]: 52 52 {{{ 53 53 #!sh … … 65 65 }}} 66 66 67 68 67 * Creamos la MV: 69 68 {{{ 70 69 #!sh 71 [user@ui ~]$ VM_ID=$(occi --endpoint $ENDPOINT --auth x509 --user-cred $X509_USER_PROXY --voms --action create --resource compute --attribute occi.core.title="MyFirstVM 1" --mixin $OS_TPL --mixin $RES_TPL --context user_data="file://$PWD/tmpfedcloud.login")70 [user@ui ~]$ VM_ID=$(occi --endpoint $ENDPOINT --auth x509 --user-cred $X509_USER_PROXY --voms --action create --resource compute --attribute occi.core.title="MyFirstVM" --mixin $OS_TPL --mixin $RES_TPL --context user_data="file://$PWD/tmpfedcloud.login") 72 71 }}} 73 72 73 * Obtenemos infomacic'on de sus caracteristicas como su direcc'ion IP. 74 74 {{{ 75 75 #!sh … … 77 77 }}} 78 78 79 * Nos conectamos a la VM por medio de `ssh` accindo uso de la clave pribada que hemos generado con anterioridad: 79 80 {{{ 80 81 #!sh 81 [user@ui ~]$ ssh -i tmpfedcloud cloudadm@ ${IP}82 [user@ui ~]$ ssh -i tmpfedcloud cloudadm@DIR_IP 82 83 }}} 83 84 84 Una vez se haya conectado a la maquina virtual ejecutelos comandos `hostname`, `uname -a` y `ifconfig`.85 * Una vez conectados ejecutamos los comandos `hostname`, `uname -a` y `ifconfig`. 85 86 87 * Finalmente la destruimos: 86 88 {{{ 87 89 #!sh