add routing and DNS configuration in salt-master
Ensure ens3 is set up and default gateway is set,
also that nameserver is specified.
PROD-18280
Change-Id: Ic9afcd85abf2e5f5704e08dd50acb4cf368fd308
diff --git a/classes/cluster/sl-pike-dvr/infra/config.yml b/classes/cluster/sl-pike-dvr/infra/config.yml
index c400ce8..6e5d423 100644
--- a/classes/cluster/sl-pike-dvr/infra/config.yml
+++ b/classes/cluster/sl-pike-dvr/infra/config.yml
@@ -37,6 +37,7 @@
salt_master_environment_revision: master
salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
reclass_config_master: 192.168.10.90
+ reclass_config_master_gateway: 192.168.10.1
single_address: 172.16.10.100
salt_master_host: 127.0.0.1
salt_master_base_environment: prd
@@ -44,6 +45,13 @@
linux:
network:
interface:
+ ens3:
+ enabled: true
+ type: eth
+ proto: static
+ address: ${_param:reclass_config_master}
+ gateway: ${_param:reclass_config_master_gateway}
+ netmask: 255.255.255.0
ens4:
enabled: true
type: eth