From f75d848ececdd59a1dcb240cf7956598366b9621 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Mon, 24 Oct 2011 13:38:52 -0700 Subject: [PATCH] openrc should use same variables as stack.sh --- openrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openrc b/openrc index 4f953de..cc31531 100644 --- a/openrc +++ b/openrc @@ -4,7 +4,7 @@ source ./stackrc # Set api host endpoint -HOST=${HOST:-localhost} +HOST_IP=${HOST_IP:-127.0.0.1} # Nova original used project_id as the *account* that owned resources (servers, # ip address, ...) With the addition of Keystone we have standardized on the @@ -28,7 +28,7 @@ export NOVA_API_KEY=${ADMIN_PASSWORD:-secrete} # # *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We # will use the 1.1 *compute api* -export NOVA_URL=${NOVA_URL:-http://$HOST:5000/v2.0/} +export NOVA_URL=${NOVA_URL:-http://$HOST_IP:5000/v2.0/} # Currently novaclient needs you to specify the *compute api* version. This # needs to match the config of your catalog returned by Keystone.