games/valheim: fix startup, add second server
Change-Id: I7621eb42ee68ff25c0a69b29d4dc1728ce95cd42
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1204
Reviewed-by: q3k <q3k@hackerspace.pl>
diff --git a/games/valheim/prod.jsonnet b/games/valheim/prod.jsonnet
index 9f0f421..f1f3c34 100644
--- a/games/valheim/prod.jsonnet
+++ b/games/valheim/prod.jsonnet
@@ -88,6 +88,7 @@
line
setup_filesystem
log "Launching the rest of the fucking owl"
+ export HOME=/home/steam
cd /home/steam/valheim || exit 1
exec "$@"
|||
@@ -180,4 +181,11 @@
displayName: "wypierdol z polski xD",
},
},
+ q3k2: top.env(top.ns, "q3k2") {
+ cfg+: {
+ ns: "valheim",
+ password: (std.split(importstr "secrets/plain/q3k2-public", "\n"))[0],
+ displayName: "walhajm",
+ },
+ },
}