From 1e13e632c95ba66a7f0907412fa77649779d43cb Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 11 Jun 2021 15:02:43 +0200 Subject: [PATCH] nodes/rx300: remove lldp, set correct ip --- nodes/rx300.py | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/nodes/rx300.py b/nodes/rx300.py index 1e52908..06a12bc 100644 --- a/nodes/rx300.py +++ b/nodes/rx300.py @@ -7,9 +7,8 @@ # GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1" nodes['rx300'] = { - 'hostname': '172.19.138.26', + 'hostname': '31.47.232.106', 'bundles': { - 'lldp', # TODO remove once this is no longer at home 'lm-sensors', 'smartd', 'vmhost', @@ -20,11 +19,20 @@ nodes['rx300'] = { }, 'metadata': { 'interfaces': { + # from the back: [IPMI] [eth1] [eth0] 'br0': { 'ips': { '172.19.138.26/24', + '31.47.232.106/29', + '2a00:f820:528::2/64', }, - 'gateway4': '172.19.138.1', + 'gateway4': '31.47.232.105', + 'gateway6': '2a00:f820:528::1', + }, + }, + 'apt': { + 'packages': { + 'ipmitool': {}, }, }, 'icinga_options': { @@ -34,27 +42,17 @@ nodes['rx300'] = { 'backups': { 'exclude_from_backups': True, }, - 'lldp': { - 'hostname': 'rx300.kunbox.net', - }, 'smartd': { 'disks': { '/dev/nvme0', }, }, 'systemd-networkd': { - 'bonds': { - 'bond0': { - 'match': { - 'eth0', - 'eth1', - }, - }, - }, 'bridges': { 'br0': { 'match': { - 'bond0', + 'eth0', + 'eth1', }, }, },