feat: continue incus implementation (#245)

- migrate to systemd-networkd
- setup dummy, bridge and static/ethernet interfaces
- manage sshd.service droping to start ssh after networking is online
- enable ip forewarding
- add fastpool/data/incus dataset
- enable ospf and frr
- add loopback0 as ssh listenaddress
- add loopback1/2 for ceph cluster/public traffic

Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/245
This commit was merged in pull request #245.
This commit is contained in:
2025-04-06 16:38:04 +10:00
parent 06666fe488
commit c225564bdb
17 changed files with 310 additions and 51 deletions
@@ -1,15 +1,18 @@
---
networking_loopback0_ip: 198.18.19.9 # management loopback
networking_loopback1_ip: 198.18.22.9 # ceph-cluster loopback
networking_loopback2_ip: 198.18.23.9 # ceph-public loopback
networking_br10_ip: 198.18.25.254
networking::interfaces:
enp2s0:
mac: 70:b5:e8:38:e9:8d
ipaddress: 198.18.15.9
enp3s0:
ipaddress: 10.18.15.9
mtu: 9000
networking::routes:
default:
gateway: 198.18.15.254
enp3s0:
mac: 00:e0:4c:68:0f:5d
ipaddress: 198.18.21.9
zfs::zpools:
fastpool:
ensure: present
disk: /dev/nvme0n1
#zfs::zpools:
# fastpool:
# ensure: present
# disk: /dev/nvme0n1