Skip to content

Commit

Permalink
Merge pull request #543 from tommarcoen/master
Browse files Browse the repository at this point in the history
Update vm.8 with img command info
  • Loading branch information
mateuszkwiatkowski authored Sep 10, 2024
2 parents 31358b6 + d0c5a61 commit 3214e29
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions vm.8
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@
.Cm iso
.Op Ar -d datastore
.Op Ar url
.Nm
.Cm img
.Op Ar -d datastore
.Op Ar url
.Pp
.Nm
.Cm image list
Expand Down Expand Up @@ -1002,6 +1006,25 @@ to the default datastore. The target datasource can be changed by specifying
.Sy -d datastore
with
.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
List available images.
Any virtual machine can be packaged into an image, which can then be used to
Expand Down

0 comments on commit 3214e29

Please sign in to comment.