The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/3211
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) === The serverconfig.sh relies on client.crt being generated, running `lxc remote add` (via ensure_has_localhost_remote) does the trick. With this branch "sudo -E ./main.sh server_config" will no longer fail.
From 5bcee9c618247abbb584a2dc74175d1c4797b606 Mon Sep 17 00:00:00 2001 From: Free Ekanayaka <[email protected]> Date: Mon, 24 Apr 2017 11:55:35 +0200 Subject: [PATCH] Make sure a client certificate is generated The serverconfig.sh relies on client.crt being generated, running `lxc remote add` (via ensure_has_localhost_remote) does the trick. With this branch "sudo -E ./main.sh server_config" will no longer fail. --- test/suites/serverconfig.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/suites/serverconfig.sh b/test/suites/serverconfig.sh index 8a75e78..7b2a100 100644 --- a/test/suites/serverconfig.sh +++ b/test/suites/serverconfig.sh @@ -4,6 +4,7 @@ test_server_config() { LXD_SERVERCONFIG_DIR=$(mktemp -d -p "${TEST_DIR}" XXX) spawn_lxd "${LXD_SERVERCONFIG_DIR}" true + ensure_has_localhost_remote "${LXD_ADDR}" lxc config set core.trust_password 123456 config=$(lxc config show)
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
