diff options
Diffstat (limited to 'OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml')
-rw-r--r-- | OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml b/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml index 8d67385..2ab5beb 100644 --- a/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml +++ b/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml @@ -48,9 +48,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: maven-artifact group-id: org.openecomp.dcae.controller |