Go to file
2022-03-06 14:55:33 +00:00
files initial dump 2022-03-01 23:30:08 +00:00
roles/utilizadores add users to group lxd 2022-03-06 14:55:33 +00:00
01_prep_lxd.yaml initial dump 2022-03-01 23:30:08 +00:00
02_lxc_containers.yaml initial dump 2022-03-01 23:30:08 +00:00
03_container_haproxy.yaml initial dump 2022-03-01 23:30:08 +00:00
04_container_gitea.yaml initial dump 2022-03-01 23:30:08 +00:00
00_preps.yaml usar a role 2022-03-03 22:43:23 +00:00
hosts initial dump 2022-03-01 23:30:08 +00:00
main.yaml initial dump 2022-03-01 23:30:08 +00:00
README.md initial dump 2022-03-01 23:30:08 +00:00

Passos manuais preparatórios

$ apt install zfsutils-linux snapd
$ snap install lxd
$ lxd init
Would you like to use LXD clustering? (yes/no): NO
Do you want to configure a new storage pool? (yes/no): YES
Name of the new storage pool: wireguards
Name of the storage backend to use (btrfs, dir, lvm, zfs): ZFS
Create a new ZFS pool? (yes/no): YES
Would you like to use an existing block device? (yes/no): NO
Size in GB of the new loop device (1GB minimum): 5 ????
Would you like to connect to a MAAS server? (yes/no): NO
Would you like to create a new local network bridge? (yes/no): YES
What should the new bridge be called?: lxdbr0
What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”): AUTO
What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”): AUTO
Would you like LXD to be available over the network? (yes/no): NO
Would you like stale cached images to be updated automatically? (yes/no): YES
Would you like a YAML "lxd init" preseed to be printed? (yes/no): NO
$ lxc config set core.https_address "[::]"
$ lxc config set core.trust_password uma_pass

$ lxc config unset core.trust_password