diff options
Diffstat (limited to 'installers')
-rw-r--r-- | installers/daisy/pod_config.yaml.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/installers/daisy/pod_config.yaml.j2 b/installers/daisy/pod_config.yaml.j2 index 39be297..9a4ac7b 100644 --- a/installers/daisy/pod_config.yaml.j2 +++ b/installers/daisy/pod_config.yaml.j2 @@ -43,5 +43,9 @@ hosts: disks: daisy: 50 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] }} +{%- endif %} ceph_disk_name: '/dev/sdb' |