summarylogtreecommitdiffstats
path: root/lxd.install
blob: 5190187c98a5e0946773f6455061d8f1da96f748 (plain)
1
2
3
4
5
6
7
8
post_install() {
    getent group lxd || groupadd lxd
    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'"
}