summary refs log tree commit diff
path: root/gnu/image.scm
diff options
context:
space:
mode:
authorAlex Griffin <a@ajgrf.com>2022-02-07 18:37:25 -0600
committerMathieu Othacehe <othacehe@gnu.org>2022-09-12 09:28:09 +0200
commit6af195aa68eacc541fd6dc1e5c0ea4958808bbec (patch)
tree0e140e5cb65a7df2ae8abec19bab41219c07b920 /gnu/image.scm
parent4aea8ee5c9a15240adfd5830741a7fb927882ab1 (diff)
downloadguix-6af195aa68eacc541fd6dc1e5c0ea4958808bbec.tar.gz
system: image: Add wsl2 support.
* gnu/image.scm (<image>)[format]: Add wsl2 support.
* gnu/system/image.scm (wsl2-image, wsl2-image-type): New variables.
(image->root-file-system): Add wsl2 image support.
(system-image): Ditto.
Diffstat (limited to 'gnu/image.scm')
-rw-r--r--gnu/image.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/image.scm b/gnu/image.scm
index b2ef0f60af..523653dd77 100644
--- a/gnu/image.scm
+++ b/gnu/image.scm
@@ -152,7 +152,7 @@ that is not in SET, mentioning FIELD in the error message."
 
 ;; The supported image formats.
 (define-set-sanitizer validate-image-format format
-  (disk-image compressed-qcow2 docker iso9660 tarball))
+  (disk-image compressed-qcow2 docker iso9660 tarball wsl2))
 
 ;; The supported partition table types.
 (define-set-sanitizer validate-partition-table-type partition-table-type