Description
Currently the provider configuration includes:
- config_dir [default=~/.config/incus/]
- generate_client_certificate [default=false]
- accept_remote_certificates [default=false]
- remote (list of remotes)
I think we should make a couple of changes:
- Add a "default_remote" key in the main configuration (and remove the per-remote "default" boolean)
- Rework the remote to line up with a cliconfig remote definition, so having the following fields instead:
- name
- address
- protocol
- auth_type (only for "incus" protocol)
- default_project (only for "incus" protocol)
- public
This would then allow us to for example add:
remote {
name = "docker"
address = "https://docker.io"
protocol = "oci"
public = true
}
Which we'd then be able to make use to create OCI containers from within the provider without requiring the user to first go mess with their Incus remotes.