summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2018-01-16 18:03:59 +0800
committerAlex Yang <yangyang1@zte.com.cn>2018-01-16 18:03:59 +0800
commit4fa51a5326547b59bef35e162729e44f3c1aec3a (patch)
treefdb55e14c38b873fe9348013b1ca98f0f2f2d1c9 /config
parent6233ce9048958f19f31ac07f9c88309591590b7f (diff)
Fix daisy gateway generated by PDF
Fixed_ips were removed from the PDF. So we need get gateway address from the 'interfaces'. Change-Id: Ie6adbf4ef3cbde05bb2fb114a58395dda8ae50fb Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'config')
-rw-r--r--config/installers/daisy/pod_config.yaml.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/config/installers/daisy/pod_config.yaml.j2 b/config/installers/daisy/pod_config.yaml.j2
index 3e4ab106..8057f68c 100644
--- a/config/installers/daisy/pod_config.yaml.j2
+++ b/config/installers/daisy/pod_config.yaml.j2
@@ -86,6 +86,6 @@ daisy_passwd: 'r00tme'
{% if 'fixed_ips' in conf['jumphost'] -%}
daisy_gateway: {{ conf['jumphost']['fixed_ips']['admin'] }}
{%- else -%}
-daisy_gateway: {{ conf['jumphost']['interfaces'][0]['address'][0] }}
+daisy_gateway: {{ conf['jumphost']['interfaces'][0]['address'] }}
{%- endif %}
ceph_disk_name: '/dev/sdb'