diff options
author | Alex Griffin <a@ajgrf.com> | 2022-09-10 10:03:10 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2022-09-12 09:28:09 +0200 |
commit | 5e1c6f0f1eae15b5e4aeda9192544eafdd6f5a0f (patch) | |
tree | d71eb88db07a7223dec1b2003952cf610a5249f1 /doc | |
parent | 6af195aa68eacc541fd6dc1e5c0ea4958808bbec (diff) | |
download | guix-5e1c6f0f1eae15b5e4aeda9192544eafdd6f5a0f.tar.gz |
system: images: Add wsl2 module. wip-image
* gnu/system/images/wsl2.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi ("System Images"): Document it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 22e22ee041..cd9da4b701 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -41332,6 +41332,8 @@ one or multiple partitions. @item @code{tarball}, a tar.gz image archive. +@item @code{wsl2}, a WSL2 image. + @end itemize @item @code{platform} (default: @code{#false}) @@ -41695,6 +41697,17 @@ Build an image similar to the one built by the @code{hurd-image-type} but with the @code{format} set to @code{'compressed-qcow2}. @end defvr +@defvr {Scheme Variable} wsl2-image-type +Build an image for the @acronym{WSL2, Windows Subsystem for Linux 2}. +It can be imported by running: + +@example +wsl --import Guix ./guix ./wsl2-image.tar.gz +wsl -d Guix +@end example + +@end defvr + So, if we get back to the @code{guix system image} command taking an @code{operating-system} declaration as argument. By default, the @code{efi-raw-image-type} is used to turn the provided |