Jump to: navigation, search


878 bytes removed, 1 year ago
Final Prep
=== Final Prep ===
Now, we are almost ready to create our first container, but first we want to modify the default profile to contain some useful settings. LXD (like Funtoo and Gentoo) also use profiles to manage settings, and there is a default profile that
applies to all containers. Let's add the following settings to it with these commands:
# ##i##lxc profile set default environment.LANG "en_US.UTF-8"
# ##i##lxc profile set default environment.LC_ALL "en_US.UTF-8"
# ##i##lxc profile set default environment.LC_COLLATE "POSIX"
These settings simply serve the purpose of setting some default environment variables, so that when we enter the container with {{c|lxc exec}} without a login shell, it will still have all these environment settings at reasonable defaults. This will get rid of some annoying warning messages when we enter the container.
=== First Containeer ===
Bureaucrats, Administrators, wiki-admins, wiki-staff

Navigation menu