diff options
Diffstat (limited to 'OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml')
-rw-r--r-- | OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml b/OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml index d731097..de4c43f 100644 --- a/OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml +++ b/OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml @@ -21,9 +21,9 @@ installation-steps: - step: shell command: | - echo nameserver 10.0.0.1 >> /etc/resolv.conf - echo "prepend domain-name-servers 10.0.0.1;" >> /etc/dhcp/dhclient.conf - echo nameserver 10.0.0.1 >> /etc/resolvconf/resolv.conf.d/head + echo nameserver ${dcae.env('open-ecomp-demo.dns-ip')} >> /etc/resolv.conf + echo "prepend domain-name-servers ${dcae.env('open-ecomp-demo.dns-ip')};" >> /etc/dhcp/dhclient.conf + echo nameserver ${dcae.env('open-ecomp-demo.dns-ip')} >> /etc/resolvconf/resolv.conf.d/head - step: shell command: | |