aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-compute/templates
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2017-08-15 11:40:26 +0800
committerYifei Xue <xueyifei@huawei.com>2017-08-31 15:33:56 +0800
commit8c978370a123dccc0b93ee9bd2ba46f8167a2cc2 (patch)
treefe3b398de2de17e5c30ceea456dbe123bc1e6f69 /deploy/adapters/ansible/roles/config-compute/templates
parent760c966b5095fb0cfe0a2ac4014a337531a8df1d (diff)
Support offline deployment for nosdn no feature scenario
JIRA: - Add a repo docker which includes ubuntu PPA and python packages used for offline deployment. Change-Id: Iad9b0df7f33f5a7ab974c5deffb408fc93b3f3ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/config-compute/templates')
-rw-r--r--deploy/adapters/ansible/roles/config-compute/templates/pip.conf.j25
-rw-r--r--deploy/adapters/ansible/roles/config-compute/templates/sources.list.offline1
2 files changed, 6 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-compute/templates/pip.conf.j2 b/deploy/adapters/ansible/roles/config-compute/templates/pip.conf.j2
new file mode 100644
index 00000000..1ada4763
--- /dev/null
+++ b/deploy/adapters/ansible/roles/config-compute/templates/pip.conf.j2
@@ -0,0 +1,5 @@
+[global]
+find-links = http://{{ offline_repo_ip }}:{{ offline_repo_port }}/pip_pkg
+no-index = true
+[install]
+trusted-host = {{ offline_repo_ip }}
diff --git a/deploy/adapters/ansible/roles/config-compute/templates/sources.list.offline b/deploy/adapters/ansible/roles/config-compute/templates/sources.list.offline
new file mode 100644
index 00000000..15aa736f
--- /dev/null
+++ b/deploy/adapters/ansible/roles/config-compute/templates/sources.list.offline
@@ -0,0 +1 @@
+deb [arch=amd64] http://{{ offline_repo_ip }}:{{ offline_repo_port }}/xenial-ocata-ppa xenial main