fixup! test: regenerate testvm01 with correct boot device
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m13s

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 <noreply@anthropic.com>
This commit is contained in:
2026-02-01 17:25:58 +01:00
parent ca5782ee50
commit 7bdaa68778

View File

@@ -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";