Skip to content

Commit

Permalink
fix(givc): Add TLS guard for storagevm
Browse files Browse the repository at this point in the history
Fix boot issue when givc TLS is disabled and Ghaf flashed by adding
appropriate guard.

Signed-off-by: Manuel Bluhm <[email protected]>
  • Loading branch information
mbssrc committed Feb 12, 2025
1 parent e08d94a commit 8e09776
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ in
machine-id.text = "d8dee68f8d334c79ac8f8229921e0b25";
};
})
(lib.mkIf config.ghaf.givc.enable {
(lib.mkIf (config.ghaf.givc.enable && config.ghaf.givc.enableTls) {
virtualisation.fileSystems.${cfg.mountPath} = {
device = "/dev/disk/by-label/givc-${cfg.name}";
};
Expand Down

0 comments on commit 8e09776

Please sign in to comment.