summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-router-obsd.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-router-obsd.yml')
-rw-r--r--inventory/host_vars/ch-router-obsd.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/inventory/host_vars/ch-router-obsd.yml b/inventory/host_vars/ch-router-obsd.yml
index 48788004..a88110f3 100644
--- a/inventory/host_vars/ch-router-obsd.yml
+++ b/inventory/host_vars/ch-router-obsd.yml
@@ -15,7 +15,14 @@ install:
size: 10g
interfaces:
- bridge: br-svc
- name: vi0
+ name: vio0
autostart: True
-network: {}
+network:
+ nameservers: "{{ network_zones.svc.dns }}"
+ domain: "{{ host_domain }}"
+ primary:
+ interface: vio0
+ ip: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets[inventory_hostname]) | ipaddr('address') }}"
+ mask: "{{ network_zones.svc.prefix | ipaddr('netmask') }}"
+ gateway: "{{ network_zones.svc.gateway }}"