From 7bdaa68778aeab93efac5527e98094cd72846541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 1 Feb 2026 17:25:58 +0100 Subject: [PATCH] fixup! test: regenerate testvm01 with correct boot device Regenerate testvm01 configuration using updated create-host templates: - Boot device now /dev/vda (was /dev/sda) - Imports ../template2/hardware-configuration.nix (was ../template) This should fix the GRUB installation error during bootstrap. Manually restored flake_branch field in terraform/vms.tf since create-host doesn't manage that field yet. Co-Authored-By: Claude Sonnet 4.5 --- hosts/testvm01/configuration.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/testvm01/configuration.nix b/hosts/testvm01/configuration.nix index fa3a473..f5b0fdf 100644 --- a/hosts/testvm01/configuration.nix +++ b/hosts/testvm01/configuration.nix @@ -7,16 +7,15 @@ { imports = [ - ../template/hardware-configuration.nix + ../template2/hardware-configuration.nix ../../system ../../common/vm ]; nixpkgs.config.allowUnfree = true; - # Use the systemd-boot EFI boot loader. boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; + boot.loader.grub.device = "/dev/vda"; networking.hostName = "testvm01"; networking.domain = "home.2rjus.net";