map xos hostname to the head node
Change-Id: I6ce89117f4e72b0b7c71c0b7fb99049401345fb0
diff --git a/roles/maas/files/cnames.inc b/roles/maas/files/cnames.inc
index ae22714..d3ab249 100644
--- a/roles/maas/files/cnames.inc
+++ b/roles/maas/files/cnames.inc
@@ -2,7 +2,6 @@
nagios CNAME nagios-1
openstack-dashboard CNAME openstack-dashboard-1
onos-fabric CNAME onos-fabric-1
-xos CNAME xos-1
juju CNAME juju-1
neutron-api CNAME neutron-api-1
rabbitmq-server CNAME rabbitmq-server-1
diff --git a/roles/maas/files/update_dns_template.sh b/roles/maas/files/update_dns_template.sh
index daa8a76..b7db434 100755
--- a/roles/maas/files/update_dns_template.sh
+++ b/roles/maas/files/update_dns_template.sh
@@ -57,6 +57,7 @@
{{if domain == '$DOMAIN'}}
\$INCLUDE "/etc/bind/maas/dhcp_harvest.inc"
$HOSTNAME IN A $LHOST
+xos CNAME $HOSTNAME
docker-registry CNAME $HOSTNAME
apt-cache CNAME $HOSTNAME
mavenrepo CNAME $HOSTNAME