Skip to content

Commit

Permalink
make grub-install a noop
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Apr 6, 2024
1 parent 7ccfca6 commit 8ad8f75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/flake-parts/tfgrid-microvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ in {
boot.initrd.systemd.enable = false;
boot.loader.grub.device = "nodev";

boot.loader.external.installHook = ''
exit 0
'';

services.cloud-init.enable = true;
services.cloud-init.ext4.enable = true;
services.cloud-init.network.enable = true;
Expand Down

0 comments on commit 8ad8f75

Please sign in to comment.