From 1a16900cbc3fdfb2d824bb461edf91ac0b4958f4 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 20 Jul 2020 13:55:16 +0700 Subject: [PATCH] Allow connect remotely --- roles/lxd/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/lxd/tasks/main.yml b/roles/lxd/tasks/main.yml index 94576c5c..c90f398d 100644 --- a/roles/lxd/tasks/main.yml +++ b/roles/lxd/tasks/main.yml @@ -6,3 +6,9 @@ - name: Initialize LXD command: lxd init --auto + +- name: Make LXD to be available over the network + command: lxc config set core.https_address "[::]" + +- name: Set password for new clients + command: lxc config set core.trust_password ""