Changes between Version 5 and Version 6 of EGIFedCloud


Ignore:
Timestamp:
Mar 17, 2016 2:24:23 PM (6 years ago)
Author:
carlos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EGIFedCloud

    v5 v6  
    55
    66{{{
    7 #!/bin/bash
     7#!sh
    88[user@ui ~]$ ssh-keygen -t rsa -b 2048 -f tmpfedcloud
    99}}}
    1010
    1111{{{
    12 #!/bin/bash
     12#!sh
    1313[user@ui ~]$ cat > tmpfedcloud.login << EOFusers:
    1414  - name: cloudadm
     
    2222
    2323{{{
    24 #!/bin/bash
     24#!sh
    2525[user@ui ~]$ export ENDPOINT=https://carach5.ics.muni.cz:11443
    2626[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
     
    2929
    3030{{{
    31 #!/bin/bash
     31#!sh
    3232[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")
    3333occi --endpoint $ENDPOINT --auth x509 --user-cred $X509_USER_PROXY --voms --action describe --resource ${VM_ID}
     
    3535
    3636{{{
    37 #!/bin/bash
     37#!sh
    3838[user@ui ~]$ ssh -i tmpfedcloud cloudadm@${IP}
    3939}}}
    4040
    4141{{{
    42 #!/bin/bash
     42#!sh
    4343[user@ui ~]$ occi --endpoint $ENDPOINT --auth x509 --user-cred $X509_USER_PROXY --voms --action delete --resource ${VM_ID}
    4444}}}