Changes between Version 5 and Version 6 of EGIFedCloud
- Timestamp:
- Mar 17, 2016 2:24:23 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EGIFedCloud
v5 v6 5 5 6 6 {{{ 7 #! /bin/bash7 #!sh 8 8 [user@ui ~]$ ssh-keygen -t rsa -b 2048 -f tmpfedcloud 9 9 }}} 10 10 11 11 {{{ 12 #! /bin/bash12 #!sh 13 13 [user@ui ~]$ cat > tmpfedcloud.login << EOFusers: 14 14 - name: cloudadm … … 22 22 23 23 {{{ 24 #! /bin/bash24 #!sh 25 25 [user@ui ~]$ export ENDPOINT=https://carach5.ics.muni.cz:11443 26 26 [user@ui ~]$ export OS_TPL=http://occi.carach5.ics.muni.cz/occi/infrastructure/os_tpl#uuid_egi_ubuntu_server_14_04_lts_fedcloud_warg_131 … … 29 29 30 30 {{{ 31 #! /bin/bash31 #!sh 32 32 [user@ui ~]$ VM_ID=$(occi --endpoint $ENDPOINT --auth x509 --user-cred $X509_USER_PROXY --voms --action create --resource compute --attribute occi.core.title="MyFirstVM1" --mixin $OS_TPL --mixin $RES_TPL --context user_data="file://$PWD/tmpfedcloud.login") 33 33 occi --endpoint $ENDPOINT --auth x509 --user-cred $X509_USER_PROXY --voms --action describe --resource ${VM_ID} … … 35 35 36 36 {{{ 37 #! /bin/bash37 #!sh 38 38 [user@ui ~]$ ssh -i tmpfedcloud cloudadm@${IP} 39 39 }}} 40 40 41 41 {{{ 42 #! /bin/bash42 #!sh 43 43 [user@ui ~]$ occi --endpoint $ENDPOINT --auth x509 --user-cred $X509_USER_PROXY --voms --action delete --resource ${VM_ID} 44 44 }}}