Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
openstack-quickstart
getkstoken
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File getkstoken of Package openstack-quickstart
#!/bin/sh NOVA_USERNAME=${NOVA_USERNAME:-admin} NOVA_API_KEY=${NOVA_API_KEY:-openstack} HOST_IP=${HOST_IP:-127.0.0.1} curl -s -d "{\"auth\":{\"passwordCredentials\": {\"username\": \"$NOVA_USERNAME\", \"password\": \"$NOVA_API_KEY\"}}}" -H "Content-type: application/json" http://$HOST_IP:5000/v2.0/tokens | python -c "import sys; import json; tok = json.loads(sys.stdin.read()); print tok['access']['token']['id'];"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor