Skip to content

Instantly share code, notes, and snippets.

@openstacker
Last active January 18, 2018 06:28
Show Gist options
  • Select an option

  • Save openstacker/616d2cded7d0ed9fc403ce90e2f7e552 to your computer and use it in GitHub Desktop.

Select an option

Save openstacker/616d2cded7d0ed9fc403ce90e2f7e552 to your computer and use it in GitHub Desktop.
1. install libs
sudo apt-get install libffi-dev libssl-dev python-dev mysql-client-core-5.6
sudo pip install --upgrade urllib3 setuptools chardet
sudo pip install python-openstackclient certifi idna requestsexceptions appdirs rfc3986 python-magnumclient enum netifaces jsonschema python-heatclient
sudo pip install ctutlz
2. keystonerc
export OS_REGION_NAME=1.example.com
export OS_PASSWORD=123456
export OS_AUTH_URL=https://feilong-dev-api1.openstacklocal:5000/v3
export OS_USERNAME=admin
export OS_TENANT_NAME=openstack
export OS_IDENTITY_API_VERSION=3
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_DOMAIN_ID=default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment