The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7220
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Tiny detail that makes a big difference: Following README file, at the moment of machine setup, PATH should be $GOPATH/bin. This PATH contains the "lxd-agent" binary and, if PATH is not passed by sudo, it won't get included in machine's 9p config filesystem. Signed-off-by: Rafael David Tinoco <rafaeldtin...@ubuntu.com>
From 64f4b430a940515835a74db7364dd73a94aa21a7 Mon Sep 17 00:00:00 2001 From: Rafael David Tinoco <rafaeldtin...@ubuntu.com> Date: Sat, 18 Apr 2020 01:24:54 -0300 Subject: [PATCH] index.md: add PATH env variable to sudo command example Tiny detail that makes a big difference: Following README file, at the moment of machine setup, PATH should be $GOPATH/bin. This PATH contains the "lxd-agent" binary and, if PATH is not passed by sudo, it won't get included in machine's 9p config filesystem. Signed-off-by: Rafael David Tinoco <rafaeldtin...@ubuntu.com> --- doc/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/index.md b/doc/index.md index 8ca5273edb..1d1adb99ac 100644 --- a/doc/index.md +++ b/doc/index.md @@ -150,7 +150,7 @@ Now you can run the daemon (the `--group sudo` bit allows everyone in the `sudo` group to talk to LXD; you can create your own group if you want): ```bash -sudo -E LD_LIBRARY_PATH=$LD_LIBRARY_PATH $GOPATH/bin/lxd --group sudo +sudo -E PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH $GOPATH/bin/lxd --group sudo ``` ## Security
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel