Closed AJRepo closed 1 month ago
The type is indeed optional as it defaults to custom
which is what the incus storage volume
command usually interacts with.
So you can do:
You only need to specify the type when you're not dealing with a custom volume.
Note that the Examples part of the help for both info
and show
is pretty clear about that:
Provide the type of the storage volume if it is not custom.
Supported types are custom, container and virtual-machine.
Using incus 6.0.0 on a remote server
The help for the incus storage command is as follows
which indicates the "type" is not a required field.
Setup:
Command with error
However adding the "type" does find the storage pool
Not sure if help documents should be updated or if this is a bug.
Additionally, would be good in the help documents to describe what the valid "type" fields are (e.g. "virtual-machine" or "container" ) for those new to incus. I think I can easily make the updates and create a PR if this is an issue with the help docs.