blob: 8dc5222a6a16df7a960378e74f349355913485dd [file] [log] [blame]
Jesse Andrewsb0191512011-09-14 19:37:10 -07001#!/usr/bin/env bash
2
3# **exercise.sh** - using the cloud can be fun
4
5# we will use the ``nova`` cli tool provided by the ``python-novaclient``
6# package
7
8# Settings/Options
9# ================
10
11HOST=${HOST:-localhost}
12export NOVA_PROJECT_ID=${TENANT:-admin}
13export NOVA_USERNAME=${USERNAME:-admin}
14export NOVA_API_KEY=${PASS:-secrete}
15
16# keystone is the authentication system. We use the **auth** 2.0 protocol.
17# Upon successful authentication, we are return a token and catalog of
18# endpoints (for openstack services)
19export NOVA_URL="http://$HOST:5000/v2.0/"
20export NOVA_VERSION=1.1
21
22export
23
24nova list