System administration, tricks and tips from an old school web-hacker. All words and opinions are my own.

Rackspace OpenStack Environment Variables.

· Read in about 1 min · (112 Words)

I wanted to build an octohost using Packer and a Rackspace OpenStack Image, but I needed a few environment variables to be setup correctly.

Googling for what should be in the ENV variables gave all sorts of contradictory results - here’s what works:

# Rackspace
export SDK_USERNAME="username"  # Same as here: https://mycloud.rackspace.com/
export SDK_PASSWORD="password-to-login" # Not the API key.
export SDK_PROVIDER="rackspace-us" # Or rackspace-uk

Just posting this here for Google - hopefully you find this and it helps you - I was frustrated for quite a while.

PS - I couldn’t find this information anywhere in Rackpsace’s official documentation - if you know what it is - please send over a link!