Skip to content

Commit

Permalink
[OPS-1514] Attempt to fix infinite recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
karandit committed Nov 29, 2023
1 parent aa63c39 commit d34de11
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions servers/alzirr/platform.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@
# machines irrespective of host names.
# We do not worry about plugging disks into the wrong machine because
# we will never exchange disks between machines.
environment.etc."mdadm.conf".text = ''
HOMEHOST hetzner
'';
# environment.etc."mdadm.conf".text = ''
# HOMEHOST hetzner
# '';
# The RAIDs are assembled in stage1, so we need to make the config
# available there.
boot.swraid.mdadmConf = config.environment.etc."mdadm.conf".text;
boot.swraid.mdadmConf = ''
HOMEHOST hetzner
'';
# config.environment.etc."mdadm.conf".text;

# Default mdmonitor service does not work, fix it by directing events to the log.
# See https://github.com/NixOS/nixpkgs/issues/72394
Expand Down

0 comments on commit d34de11

Please sign in to comment.