Changes

Jump to: navigation, search

LXD

878 bytes removed, 2 months 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:
 
{{console|body=
# ##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
5,837
edits

Navigation menu