summarylogtreecommitdiffstats
path: root/lxd.install
blob: de95806f6136d9b0d97c8ab21089b47aa6ad5106 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
    echo "LXD allows everyone in the lxd group to talk to LXD."
    echo ""
    echo "LXD needs sub{u,g}ids for root, so that it can create unprivileged containers."
    echo "Execute the following to set the sub{u,g}ids:"
    echo "'echo \"root:1000000:65536\" | sudo tee -a /etc/subuid /etc/subgid'"
    echo ""
    echo "To enable the bash completion for lxc include the following in your environment (possibly ~/.bashrc)"
    echo "'. /usr/share/bash-completion/completions/lxd complete -F __lxc_complete lxc'"
    echo ""
}