From dccdd4d97f4a6b85a26f81722681f07e33522812 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 13 May 2021 09:11:33 +0200 Subject: [PATCH] nodes/home.octoprint-vielschichtigkeit: remove node --- nodes/home/octoprint-leapfrog.py | 4 +- nodes/home/octoprint-vielschichtigkeit.py | 58 ----------------------- 2 files changed, 2 insertions(+), 60 deletions(-) delete mode 100644 nodes/home/octoprint-vielschichtigkeit.py diff --git a/nodes/home/octoprint-leapfrog.py b/nodes/home/octoprint-leapfrog.py index 57898e7..195a15a 100644 --- a/nodes/home/octoprint-leapfrog.py +++ b/nodes/home/octoprint-leapfrog.py @@ -1,7 +1,7 @@ # TODO Fix nodefile once printer is working correctly nodes['home.octoprint-leapfrog'] = { - 'hostname': '172.19.138.28', + 'hostname': '172.19.138.22', 'bundles': set(), 'groups': { 'debian-buster', @@ -11,7 +11,7 @@ nodes['home.octoprint-leapfrog'] = { 'interfaces': { 'eth0': { 'ips': { - '172.19.138.28/24', + '172.19.138.22/24', }, 'gateway4': '172.19.138.1' }, diff --git a/nodes/home/octoprint-vielschichtigkeit.py b/nodes/home/octoprint-vielschichtigkeit.py deleted file mode 100644 index 9babf54..0000000 --- a/nodes/home/octoprint-vielschichtigkeit.py +++ /dev/null @@ -1,58 +0,0 @@ -nodes['home.octoprint-vielschichtigkeit'] = { - 'hostname': '172.19.138.22', - 'bundles': { - 'nginx', - 'octoprint', - }, - 'groups': { - 'debian-buster', - 'raspberry', - }, - 'metadata': { - 'interfaces': { - 'eth0': { - 'ips': { - '172.19.138.22', - }, - 'dhcp': True, - 'mac': 'b8:27:eb:8e:0b:1d', - }, - }, - 'backup-client': { - 'server': '172.19.138.20:22', - }, - 'icinga_options': { - # Currently offline due to printer maintenance - 'exclude_from_monitoring': True, - }, - 'nginx': { - 'vhosts': { - 'octoprint': { - 'max_body_size': '0', - 'domain': 'vielschichtigkeit.franzi-home.kunbox.net', - 'do_not_set_content_security_headers': True, - 'ssl': False, - 'proxy': { - '/': { - 'target': 'http://[::1]:22030/', - 'websockets': True, - 'proxy_set_header': { - 'X-Real-IP': '$remote_addr', - }, - }, - }, - }, - }, - }, - 'octoprint': { - 'api_key': vault.decrypt('encrypt$gAAAAABfuWtDp0xeUSNZwi8PzhgxvheK1rdhThlPwZSweXZaUNzDF2BlfOwuMvW-vSxHjTJoyCnxzCAAytIBf0iXgdyeCafvbB43ogBaQK52HAahQNP4506-h02BKgiMdIghUmc1ZOUT'), - }, - 'raspberrypi': { - 'camera': True, - }, - 'vm': { - 'cpu': 4, - 'ram': 1, - }, - }, -}