summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-08-29 15:34:56 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-08-31 16:12:16 +0200
commit036f23f053ee6bd34c6d387debb4a9166561dd02 (patch)
treee0f044c4daad297d1a2f033e1fc47cf5294ad1fe /doc
parent7e90e28a156ddc25e3822b931a608890caf3efee (diff)
downloadguix-patches-036f23f053ee6bd34c6d387debb4a9166561dd02.tar
guix-patches-036f23f053ee6bd34c6d387debb4a9166561dd02.tar.gz
guix: system: Add `--label' option.
* guix/scripts/system.scm (%options): Add `--label'. (system-derivation-for-action): Take a #:label key to set volume ID. (perform-action): Take a #:label key. (%default-options): Add default label value. (process-action): Pass label value from command-line to perform-action. * gnu/system/image.scm (image-with-label): New procedure.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 6206a93857..56b1cd8976 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -28836,7 +28836,9 @@ the @option{--image-size} option is ignored in the case of
@code{docker-image}.
You can specify the root file system type by using the
-@option{--file-system-type} option. It defaults to @code{ext4}.
+@option{--file-system-type} option. It defaults to @code{ext4}. When its
+value is @code{iso9660}, the @option{--label} option can be used to specify
+a volume ID with @code{disk-image}.
When using @code{vm-image}, the returned image is in qcow2 format, which
the QEMU emulator can efficiently use. @xref{Running Guix in a VM},