diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-12-25 18:20:54 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-12-25 18:20:54 +0100 |
commit | 2a89948bf13307cc936756c3a43bed51b3b49dc2 (patch) | |
tree | a058e111112f03a8dd769efaeb0bf7b4c0a31c71 /inventory/host_vars | |
parent | installer: move bootstrap roles to common subdir (diff) |
openbsd vm install almost works now
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-router-obsd.yml | 11 |
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 }}" |