ansible/README.md
2022-03-01 23:30:08 +00:00

1.2 KiB

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