diff --git a/src/gel/lxc.md b/src/gel/lxc.md index 7c0f3fa..57ad5ba 100644 --- a/src/gel/lxc.md +++ b/src/gel/lxc.md @@ -12,6 +12,15 @@ This section documents the processes of configuring LXC on distros supported by #### Config files - Container config files: `/var/lib/lxc//config` +#### Container creation from official templates +When creating containers from official templates, you'll be presented with a list of available distros, alongwith release names and CPU architectures. [Visit for the full list](https://images.linuxcontainers.org). + +To select a source image directly without the selection prompt, use the following command. + +```sh +lxc-create -t download -n "" -- --dist --release --arch +``` + #### Assign static IPs _From [Setup network bridge in lxc-net](https://stanislas.blog/2018/02/setup-network-bridge-lxc-net/)._ diff --git a/src/gel/usage.md b/src/gel/usage.md index 467a256..b1d7e0e 100644 --- a/src/gel/usage.md +++ b/src/gel/usage.md @@ -3,7 +3,7 @@ For bare-metal, virtual machines and LXC containers. Do not run native install scripts other than on new machines. 1. On any of the supported distros, make sure `curl` is available. -2. Execute `sh <(curl -Ls https://github.com/ltgcgo/gel/releases/latest/download/install.sh)`. (or `sh <(curl -Ls https://codeberg.org/ltgc/gel/releases/download/latest/install.sh)`) +2. Execute `sh <(curl -Ls https://github.com/ltgcgo/gel/releases/latest/download/install.sh)`. (or `sh <(curl -Ls https://codeberg.org/ltgc/gel/releases/download/latest/install.sh)`, use `GEL_SLIM=1` to enable slim installation) 3. Connect via SSH with `ssh -p 1122 `. User passwords won't change, but SSH settings will. See the [SSH](#ssh) section for details. ### Containers