diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-12-28 10:27:23 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-12-28 10:27:23 +0100 |
commit | 55d87ecd459ad550069cf5f5473379ae9c3a0b8e (patch) | |
tree | 600ff74ae7330590afb87fb2b8a1909ef1022778 /inventory/host_vars/ch-router-obsd.yml | |
parent | add signing key for next openbsd release (diff) | |
parent | add testvm for phoebe and fix switch port configs (diff) |
Merge branch 'topic/revamp-vmguest-roles'
Diffstat (limited to 'inventory/host_vars/ch-router-obsd.yml')
-rw-r--r-- | inventory/host_vars/ch-router-obsd.yml | 8 |
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_ |