From 58fcd00366c114df95b559dc01d77677122f80a6 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Fri, 10 Jan 2025 23:42:38 -0600 Subject: [PATCH] docs: Improve remote block for local unix sockets Signed-off-by: Matt Johnson --- docs/index.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/index.md b/docs/index.md index 8fe4160..5a30d2f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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" @@ -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.