From fc94e634674cc088d268d5ada76ca5cc34c8c5bb Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 2 Jan 2021 12:18:41 +0100 Subject: [PATCH] nodes/{home.nas,rx300}: remove bond priority (unused) --- nodes/home/nas.py | 1 - nodes/rx300.py | 15 +++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/nodes/home/nas.py b/nodes/home/nas.py index 299fb37..1a96165 100644 --- a/nodes/home/nas.py +++ b/nodes/home/nas.py @@ -71,7 +71,6 @@ nodes['home.nas'] = { 'enp8*', 'enp9*', }, - 'priority': '32768', }, }, 'bridges': { diff --git a/nodes/rx300.py b/nodes/rx300.py index 2a01c8d..4b56454 100644 --- a/nodes/rx300.py +++ b/nodes/rx300.py @@ -17,15 +17,12 @@ nodes['rx300'] = { }, 'metadata': { 'interfaces': { - 'eth0': { + 'bond0': { 'ips': { '172.19.138.26/24', }, 'gateway4': '172.19.138.1', }, - 'eth1': { - 'dhcp': True, - }, }, 'icinga_options': { # TODO remove once this is no longer at home @@ -37,6 +34,16 @@ nodes['rx300'] = { 'lldp': { 'hostname': 'rx300.kunbox.net', }, + 'systemd-networkd': { + 'bonds': { + 'bond0': { + 'match': { + 'eth0', + 'eth1', + }, + }, + }, + }, 'zfs': { 'module_options': { 'zfs_arc_max_mb': 16384, # 16GB