[CORD-1588]
Set the name of the xos-core container for synchronizers using a mounted
global config file, cleanup of DNS and DHCP options for profiles
Change-Id: I79a744bb0c267a554513e03683d92f1fc285832e
diff --git a/roles/dhcpd/defaults/main.yml b/roles/dhcpd/defaults/main.yml
index b1fd226..b2e3b42 100644
--- a/roles/dhcpd/defaults/main.yml
+++ b/roles/dhcpd/defaults/main.yml
@@ -1,13 +1,33 @@
---
# dhcpd/defaults/main.yml
-dns_search: []
-dns_servers: []
-
# http://serverfault.com/questions/40712/what-range-of-mac-addresses-can-i-safely-use-for-my-virtual-machines
hwaddr_prefix: "c2a4"
-dhcpd_subnets: []
+site_name: placeholder-sitename
+site_suffix: "{{ site_name }}.test"
+
+# Management IP range from DHCP settings
+mgmt_ipv4_first_octets: "192.168.200"
+
+# node lists
+head_lxd_list: []
+physical_node_list: []
+
+dns_search:
+ - "{{ site_suffix }}"
+
+dns_servers:
+ - "{{ mgmt_ipv4_first_octets }}.1"
+
+dhcpd_subnets:
+ - interface: mgmtbr
+ cidr: "{{ mgmt_ipv4_first_octets }}.1/24"
+ dhcp_first: 129
+ dhcp_last: 254
+ other_static:
+ - physical_node_list
+ - head_lxd_list
# example dhcpd_subnets:
#
@@ -24,4 +44,3 @@
# other_static:
# - head_lxd_list
-