...
Ensure you have the Developer Tools (Xcode) with the Command Line Tools for macOS:
Code Block $ sudo xcode-select --install $ sudo pip3 install --upgrade pip
Open the Terminal application.
Install the openstack command line tool:
Code Block $ pip3 install --user python-openstackclient
Note: We recommend installing this as a user to avoid running into issues with system updates.
Add the following to .bashrczshrc:
Code Block export PATH=/Users/<username>/Library/Python/3.8/bin:$PATH export PYTHONPATH=/Users/<username>/Library/Python/3.8/lib/python/site-packages
...
Code Block |
---|
#!/bin/bash export OS_AUTH_URL=https://yegyyc.cloud.cybera.ca:5000/v3 export OS_PROJECT_NAME="<account_username>" export OS_USERNAME="<account_username>" export OS_USER_DOMAIN_NAME="Default" export OS_REGION_NAME="Calgary" export OS_INTERFACE=public export OS_IDENTITY_API_VERSION=3 echo "Please enter your OpenStack Password for project $OS_PROJECT_NAME as user $OS_USERNAME: " read -sr OS_PASSWORD_INPUT export OS_PASSWORD=$OS_PASSWORD_INPUT |
...