summaryrefslogtreecommitdiffstats
path: root/src/templates/mitaka/novarc
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/mitaka/novarc')
-rw-r--r--src/templates/mitaka/novarc17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/templates/mitaka/novarc b/src/templates/mitaka/novarc
new file mode 100644
index 0000000..e138759
--- /dev/null
+++ b/src/templates/mitaka/novarc
@@ -0,0 +1,17 @@
+{% if identity_service.api_version == '3' -%}
+export OS_AUTH_URL={{ identity_service.auth_protocol }}://{{ identity_service.auth_host }}:{{ identity_service.auth_port }}/v3
+export OS_USERNAME={{ identity_service.service_username }}
+export OS_PASSWORD={{ identity_service.service_password }}
+export OS_USER_DOMAIN_NAME=default
+export OS_PROJECT_DOMAIN_NAME=default
+export OS_PROJECT_NAME={{ identity_service.service_tenant }}
+export OS_REGION_NAME={{ options.region }}
+export OS_IDENTITY_API_VERSION=3
+export OS_AUTH_VERSION=3
+{% else -%}
+export OS_AUTH_URL={{ identity_service.auth_protocol }}://{{ identity_service.auth_host }}:{{ identity_service.auth_port }}/v2.0
+export OS_TENANT_NAME={{ identity_service.service_tenant }}
+export OS_USERNAME={{ identity_service.service_username }}
+export OS_PASSWORD={{ identity_service.service_password }}
+export OS_REGION_NAME={{ options.region }}
+{% endif -%}

This mirror site include all the OpenStack related repositories under: openstack, openstack-dev and openstack-infra.

NOTE: All repositories are updated every one hour.

Usage

For Git Clone
 git clone http://git.trystack.cn/openstack/nova.git 
For DevStack

Add GIT_BASE, NOVNC_REPO and SPICE_REPO variables to local.conf file.

[[local|localrc]]

# use TryStack git mirror
GIT_BASE=http://git.trystack.cn
NOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.git
SPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git