Merge "Change voltctl configuration file for k8s ingress"
diff --git a/packer/provision/baseline.yaml b/packer/provision/baseline.yaml
index c57d8fc..10562eb 100644
--- a/packer/provision/baseline.yaml
+++ b/packer/provision/baseline.yaml
@@ -42,6 +42,14 @@
         backup: true
       become: true
 
+    - name: Update /etc/hosts to resolve voltha-api and etcd ingress hostnames
+      replace:
+        path: /etc/hosts
+        regexp: '^(127\.0\.0\.1 .*)$'
+        replace: '127.0.0.1 localhost voltha.voltha.local voltha-infra.local'
+        backup: true
+      become: true
+
     - name: Disable periodic updates
       block:
         - name: Set all periodic update options to 0