From bce55cec880dba2f7fa193be2e1240f5316e25cd Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Thu, 16 Dec 2021 13:46:38 +0100 Subject: scripts: system: Use the disk-image size argument for VM generation. * guix/scripts/system.scm (system-derivation-for-action): Use the given image-size unconditionnaly when calling system-qemu-image/shared-store-script. --- guix/scripts/system.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index a73fe55418..f7e17d2db4 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -710,10 +710,7 @@ checking this by themselves in their 'check' procedure." #:full-boot? full-boot? #:volatile? volatile? #:graphic? graphic? - #:disk-image-size - (if full-boot? - image-size - (* 70 (expt 2 20))) + #:disk-image-size image-size #:mappings mappings)) ((image disk-image vm-image docker-image) (when (eq? action 'disk-image) -- cgit v1.2.3