Created
October 4, 2011 15:20
-
-
Save chmouel/1261924 to your computer and use it in GitHub Desktop.
Add Keystone for Swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -x | |
# Add tenant | |
keystone-manage tenant add admin | |
# Add user admin with password secrete to tenant admin | |
keystone-manage user add admin secrete admin | |
# Add swift object-store | |
keystone-manage service add swift object-store 'Swift Service' | |
# Add a endpoint | |
keystone-manage endpointTemplates add RegionOne swift http://proxy01:8080/v1/AUTH_%tenant_id% http://enova01:8080/ http://enova01:8080/v1/AUTH_%tenant_id% 1 1 | |
# Static token | |
keystone-manage token add tsC6Kqp79iL3wmIL admin admin 2015-02-05T00:00 | |
# Add admin to first service | |
keystone-manage endpoint add admin 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment