|
...
|
...
|
@@ -4,7 +4,7 @@
|
|
4
|
4
|
source ./stackrc
|
|
5
|
5
|
|
|
6
|
6
|
# Set api host endpoint
|
|
7
|
|
-HOST=${HOST:-localhost}
|
|
|
7
|
+HOST_IP=${HOST_IP:-127.0.0.1}
|
|
8
|
8
|
|
|
9
|
9
|
# Nova original used project_id as the *account* that owned resources (servers,
|
|
10
|
10
|
# ip address, ...) With the addition of Keystone we have standardized on the
|
|
...
|
...
|
@@ -28,7 +28,7 @@ export NOVA_API_KEY=${ADMIN_PASSWORD:-secrete}
|
|
28
|
28
|
#
|
|
29
|
29
|
# *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We
|
|
30
|
30
|
# will use the 1.1 *compute api*
|
|
31
|
|
-export NOVA_URL=${NOVA_URL:-http://$HOST:5000/v2.0/}
|
|
|
31
|
+export NOVA_URL=${NOVA_URL:-http://$HOST_IP:5000/v2.0/}
|
|
32
|
32
|
|
|
33
|
33
|
# Currently novaclient needs you to specify the *compute api* version. This
|
|
34
|
34
|
# needs to match the config of your catalog returned by Keystone.
|