summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-12-16 13:46:38 +0100
committerMathieu Othacehe <othacehe@gnu.org>2021-12-23 10:54:00 +0100
commitbce55cec880dba2f7fa193be2e1240f5316e25cd (patch)
treede2317888d23a3bf3ee66d17a56bf160832a2159 /guix
parentc37cd417644b010c39d4d7ffb46dffd7b862aaa5 (diff)
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.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/system.scm5
1 files changed, 1 insertions, 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)