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.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/inventory/host_vars/ch-router-obsd.yml b/inventory/host_vars/ch-router-obsd.yml
index cf2b7784..7827cf99 100644
--- a/inventory/host_vars/ch-router-obsd.yml
+++ b/inventory/host_vars/ch-router-obsd.yml
@@ -10,9 +10,8 @@ install:
primary: /dev/sda
virtio:
vda:
- type: lvm
- vg: "{{ hostvars[vm_host.name].host_name }}"
- lv: "{{ inventory_hostname }}"
+ type: zfs
+ name: root
size: 10g
interfaces:
- bridge: br-svc
@@ -25,5 +24,8 @@ network:
name: vio0
address: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
gateway: "{{ network_zones.svc.gateway }}"
+ static_routes:
+ - destination: "{{ network_zones.lan.prefix }}"
+ gateway: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ipaddr('address') }}"
interfaces:
- *_network_primary_