From a3a5d680788fb5ce02f53ff9b74cd5e5673ecf95 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Mon, 11 Oct 2021 01:29:52 +0200 Subject: [PATCH] wip --- bundles/steam/metadata.py | 1 + nodes/htz.games-2.py | 46 --------------------------------------- nodes/htz.games.py | 21 +++++++++++++++--- 3 files changed, 19 insertions(+), 49 deletions(-) delete mode 100644 nodes/htz.games-2.py diff --git a/bundles/steam/metadata.py b/bundles/steam/metadata.py index 6241ed3..1bb3c59 100644 --- a/bundles/steam/metadata.py +++ b/bundles/steam/metadata.py @@ -2,6 +2,7 @@ defaults = { 'apt': { 'packages': { 'lib32gcc-s1': {}, + 'unzip': {}, }, }, 'steam': { diff --git a/nodes/htz.games-2.py b/nodes/htz.games-2.py deleted file mode 100644 index dcbc827..0000000 --- a/nodes/htz.games-2.py +++ /dev/null @@ -1,46 +0,0 @@ -{ - 'hostname': '23.88.121.141', - 'groups': [ - 'backup', - 'debian-11', - 'hetzner-cloud', - ], - 'bundles': [ - 'steam', - 'left4dead2', -# 'java', -# 'minecraft', - ], - 'metadata': { - 'id': '3915f236-dd0a-4c6c-8fb3-1584c81038c6', - 'left4dead2': { - 'steamgroups': [38347879], - 'workshop': { - '2524204971', # admin system inkl admin menu - }, - 'admins': { - 'STEAM_1:0:12376499', # CroneKorkN - }, - 'servers': { - 'realism-expert': { - 'port': 27001, - 'sv_steamgroup_exclusive': 1, - 'map': 'c2m1_highway', - }, - } - }, - 'network': { - 'internal': { - 'interface': 'ens10', - 'ipv4': '10.0.10.4/32', - }, - 'external': { - 'interface': 'eth0', - 'ipv4': '23.88.121.141/32', - 'ipv6': '2a01:4f8:c17:e0b4::2/64', - 'gateway4': '172.31.1.1', - 'gateway6': 'fe80::1', - } - }, - }, -} diff --git a/nodes/htz.games.py b/nodes/htz.games.py index 022f3d4..245f4d8 100644 --- a/nodes/htz.games.py +++ b/nodes/htz.games.py @@ -6,8 +6,8 @@ 'hetzner-cloud', ], 'bundles': [ -# 'steam', -# 'left4dead2', + 'steam', + 'left4dead2', 'java', # 'minecraft', ], @@ -16,7 +16,22 @@ 'nameservers': { '8.8.8.8', }, - + 'left4dead2': { + 'steamgroups': [38347879], + 'workshop': { + '2524204971', # admin system inkl admin menu + }, + 'admins': { + 'STEAM_1:0:12376499', # CroneKorkN + }, + 'servers': { + 'realism-expert': { + 'port': 27001, + 'sv_steamgroup_exclusive': 1, + 'map': 'c2m1_highway', + }, + } + }, 'id': '353bb086-f3ce-4f36-8533-e91786c91ed9', 'network': { 'internal': {