Update vm.8 with img command info

This commit is contained in:
Tom J. Marcoen
2024-02-02 13:41:23 +01:00
committed by GitHub
parent e45b81d72e
commit d0c5a61c40

23
vm.8
View File

@@ -160,6 +160,10 @@
.Cm iso .Cm iso
.Op Ar -d datastore .Op Ar -d datastore
.Op Ar url .Op Ar url
.Nm
.Cm img
.Op Ar -d datastore
.Op Ar url
.Pp .Pp
.Nm .Nm
.Cm image list .Cm image list
@@ -1002,6 +1006,25 @@ to the default datastore. The target datasource can be changed by specifying
.Sy -d datastore .Sy -d datastore
with with
.Sy url . .Sy url .
.Cm img
.Op Ar -d datastore
.Op Ar url
.Xc
List all the cloud-init images currently stored in the
.Pa $vm_dir/.img
directory.
This is often useful during guest installation, allowing you to copy and paste
the image filename.
.Pp
If a
.Sy url
is specified, instead of listing the image files, it attempts to download the given file
using
.Xr fetch 1
to the default datastore. The target datastore can be changed by specifying
.Sy -d datastore
with
.Sy url .
.It Cm image list .It Cm image list
List available images. List available images.
Any virtual machine can be packaged into an image, which can then be used to Any virtual machine can be packaged into an image, which can then be used to