remove default host name mappings which are specific to a single deployment and update the provisioner with a DNS server

Change-Id: I50958f6cc1cdc264c5f458e19fd2428cc1fbc8b6
diff --git a/automation/mappings.json b/automation/mappings.json
index be99f7a..2c63c08 100644
--- a/automation/mappings.json
+++ b/automation/mappings.json
@@ -1,26 +1,2 @@
 {
-   "2c:60:0c:e3:c0:f1":{
-      "hostname":"cord-r1-s1"
-   },
-   "2c:60:0c:e3:c4:bd":{
-      "hostname":"cord-r1-s2"
-   },
-   "2c:60:0c:e3:c2:83":{
-      "hostname":"cord-r1-s3"
-   },
-   "2c:60:0c:e3:bb:ae":{
-      "hostname":"cord-r1-s4"
-   },
-   "2c:60:0c:e3:bf:b0":{
-      "hostname":"cord-r1-s5"
-   },
-   "2c:60:0c:e3:be:ff":{
-      "hostname":"cord-r1-s6"
-   },
-   "2c:60:0c:e3:c5:fe":{
-      "hostname":"cord-r1-s7"
-   },
-   "2c:60:0c:e3:bd:10":{
-      "hostname":"cord-r1-s8"
-   }
 }
diff --git a/roles/maas/files/mappings.json b/roles/maas/files/mappings.json
index 9dc033d..2c63c08 100644
--- a/roles/maas/files/mappings.json
+++ b/roles/maas/files/mappings.json
@@ -1,20 +1,2 @@
 {
-   "2c:60:0c:e3:c4:2d":{
-      "hostname":"cord-r1-s2"
-   },
-   "2c:60:0c:cb:00:ef":{
-      "hosname":"cord-r1-s3"
-   },
-   "2c:60:0c:cb:00:3b":{
-      "hostname":"cord-r1-s4"
-   },
-   "00:25:90:fa:5f:78":{
-      "hostname":"cord-r2-s2"
-   },
-   "00:25:90:fa:5f:52":{
-      "hostname":"cord-r2-s3"
-   },
-   "00:25:90:fa:5f:4e":{
-      "hostname":"cord-r2-s4"
-   }
 }
diff --git a/roles/maas/templates/automation-compose.yml.j2 b/roles/maas/templates/automation-compose.yml.j2
index c6c9c28..f99c68c 100644
--- a/roles/maas/templates/automation-compose.yml.j2
+++ b/roles/maas/templates/automation-compose.yml.j2
@@ -34,6 +34,7 @@
   provisioner:
     image: "docker-registry:5000/cord-provisioner:{{ docker.image_version }}"
     container_name: provisioner
+    dns: {{ mgmt_ip_address.stdout }}
     labels:
       - "lab.solution=CORD"
       - "lab.component=provisioner"