appliance-repart-image: fix OVMF not detecting disk
With the update of systemd to v255, the repart tool switched to use 4K sector sizes by default. This change sets the appliance-repart-image test to use a sector size of 512B to fit in with the existing NixOS VM test infrastructure using qemu disks with 512B sector sizes.
This commit is contained in:
parent
4e139026b5
commit
0bf5f3be25
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ in
|
|||
|
||||
image.repart = {
|
||||
name = "appliance-gpt-image";
|
||||
# OVMF does not work with the default repart sector size of 4096
|
||||
sectorSize = 512;
|
||||
partitions = {
|
||||
"esp" = {
|
||||
contents =
|
||||
|
|
Loading…
Reference in a new issue