Skip to content

Commit

Permalink
Merge pull request #190 from mttjohnson/remote-unix-socket
Browse files Browse the repository at this point in the history
docs: Improve remote block docs for local unix sockets
  • Loading branch information
maveonair authored Jan 14, 2025
2 parents 575ff11 + 58fcd00 commit 6299cb7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@ provider "incus" {
accept_remote_certificate = true
remote {
name = "incus-server-1"
scheme = "https"
address = "10.1.1.8"
token = "token"
name = "local"
scheme = "unix"
address = ""
default = true
}
remote {
name = "incus-server-2"
name = "incus-remote"
scheme = "https"
address = "10.1.2.8"
token = "token"
Expand Down Expand Up @@ -77,7 +76,9 @@ The following arguments are supported:

The `remote` block supports:

* `address` - *Optional* - The address of the Incus remote.
* `address` - *Optional* - The address of the Incus remote host when `schema` is
set to `https`. If `schema` is `unix` this will be the path to the local unix
socket, or leaving it as an empty string will use the default socket path.

* `default` - *Optional* - Whether this should be the default remote.
This remote will then be used when one is not specified in a resource.
Expand Down

0 comments on commit 6299cb7

Please sign in to comment.