Merge pull request #334508 from pbsds/fix-taskserver-1723599512

nixos/taskserver: fix test eval
This commit is contained in:
Peder Bergebakken Sundt 2024-08-16 00:44:26 +02:00 committed by GitHub
commit db16f389ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,7 @@ in {
anotherOrganisation.users = [ "bob" ];
};
specialisation.manual-config.configuration = {
specialisation.manual_config.configuration = {
services.taskserver.pki.manual = {
ca.cert = snakeOil.cacert;
server.cert = snakeOil.cert;
@ -95,7 +95,7 @@ in {
cfg = nodes.server.config.services.taskserver;
portStr = toString cfg.listenPort;
specialisations = "${nodes.server.system.build.toplevel}/specialisation";
newServerSystem = "${specialisations}/manual-config";
newServerSystem = "${specialisations}/manual_config";
switchToNewServer = "${newServerSystem}/bin/switch-to-configuration test";
in ''
from shlex import quote