From 5f4f5f24002b2fe9054cd756dcfb84aff5c5f939 Mon Sep 17 00:00:00 2001 From: Yuan-Zhuo Date: Fri, 2 Sep 2022 09:22:29 +0000 Subject: [PATCH] docs: fix unix socket address in agent-ctl doc Following the instructions in guidance doc will result in the ECONNREFUSED, thus we need to keep the unix socket address in the two commands consistent. Fixes: #5085 Signed-off-by: Yuan-Zhuo --- src/tools/agent-ctl/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/agent-ctl/README.md b/src/tools/agent-ctl/README.md index d9b53ac35..667c07b51 100644 --- a/src/tools/agent-ctl/README.md +++ b/src/tools/agent-ctl/README.md @@ -220,7 +220,7 @@ $ sudo install -o root -g root -m 0755 ~/.cargo/bin/kata-agent-ctl /usr/local/bi 1. Start the agent, specifying a local socket for it to communicate on: ```sh - $ sudo KATA_AGENT_SERVER_ADDR=unix:///tmp/foo.socket target/x86_64-unknown-linux-musl/release/kata-agent + $ sudo KATA_AGENT_SERVER_ADDR=unix://@/tmp/foo.socket target/x86_64-unknown-linux-musl/release/kata-agent ``` > **Note:** This example assumes an Intel x86-64 system.