From 0c882b7bcb3d9b651030a57ed6289b3eca586395 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Fri, 12 Apr 2024 21:41:53 +0200 Subject: [PATCH] create parent directories when linking kubernetes bootstrap resources closes #78 --- nix/modules/k3s/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/modules/k3s/default.nix b/nix/modules/k3s/default.nix index 3a492d8..dce0460 100644 --- a/nix/modules/k3s/default.nix +++ b/nix/modules/k3s/default.nix @@ -30,6 +30,7 @@ in { }).config.kubernetes.result; in '' + mkdir -p /var/lib/rancher/k3s/server/manifests ln -sf ${k3sBootstrapFile} /var/lib/rancher/k3s/server/manifests/k3s-bootstrap.json ''; };