LXC setup script

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Post Reply
Shellderr
Level 1
Level 1
Posts: 15
Joined: Fri Apr 07, 2023 2:38 am

LXC setup script

Post by Shellderr »

This is an LXC setup script I wanted to share. It should set up everything required to make unprivileged containers. LXC is pretty useful on it's own and doesn't require any extra daemons or installers like LXD. It's pretty good for making dev environments that need a lot of their own shared libraries. The configuration though can be complicated but this script should handle all the steps. There's a usage explanation commented at the bottom.
https://gist.github.com/orazdow/5c0dc77 ... c-setup-sh
Post Reply

Return to “Scripts & Bash”