Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qcow-efi backend ignores diskSize #369

Open
ereslibre opened this issue Aug 27, 2024 · 1 comment · May be fixed by #368
Open

qcow-efi backend ignores diskSize #369

ereslibre opened this issue Aug 27, 2024 · 1 comment · May be fixed by #368

Comments

@ereslibre
Copy link

ereslibre commented Aug 27, 2024

Create a qcow-efi image with ./nixos-generate -c configuration.nix -f qcow-efi --disk-size 20480 on the root of this repository.

The generated qcow image has a different disk size than specified:

/dev/disk/by-label/nixos  2.9G  1.5G  1.2G  55% /

It effectively defaults to the qemu-efi module option of boot.diskSize = "auto";, given nothing sets the disk size as the module option expects (boot.diskSize).

@ereslibre ereslibre linked a pull request Aug 27, 2024 that will close this issue
@ereslibre
Copy link
Author

With #368 applied, the same command results in:

/dev/disk/by-label/nixos   20G  1.7G   17G  10% /

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant