map xos hostname to head node

Change-Id: Id8be6803df76cc343323b61590ae1d181fbbbeec
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