diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-01-09 03:06:42 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-01-09 03:06:42 +0100 |
commit | aa64f7ad23c4c2db80cf27ece5f9d8fbd1bd1002 (patch) | |
tree | b79ef46d428bf71baaf6aff6d53d49da591c66fe /inventory/host_vars | |
parent | ch-jump reinstalled @ ch-phoebe (diff) |
ch-gw-lan reinstalled @ ch-phoebe
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-gw-lan.yml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/inventory/host_vars/ch-gw-lan.yml b/inventory/host_vars/ch-gw-lan.yml index 20aeff32..4637f04e 100644 --- a/inventory/host_vars/ch-gw-lan.yml +++ b/inventory/host_vars/ch-gw-lan.yml @@ -1,16 +1,18 @@ --- +## during install ch-jump must be reachable via mgmt or svc +install_jumphost: ch-jump + install: vm: - memory: 512M + memory: 1G numcpus: 2 autostart: True disks: primary: /dev/sda scsi: sda: - type: lvm - vg: "{{ hostvars[vm_host.name].host_name }}" - lv: "{{ inventory_hostname }}" + type: zfs + name: root size: 10g interfaces: - bridge: br-svc @@ -33,6 +35,10 @@ network: address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}" +base_sysctl_config_user: + net.ipv4.ip_forward: 1 + + dhcp_server_interfaces: lan0: prefix: "{{ network_zones.lan.prefix }}" |