Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-02 00:19:35 +00:00
parent 10598cd5d4
commit 7148d01036
7 changed files with 71 additions and 7 deletions

View File

@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
- Create a container interactively in `/var/lib/lxc/`:
`lxc-create --name {{container}} --template download`
`sudo lxc-create --name {{container}} --template download`
- Create a container in a target directory:
`lxc-create --lxcpath {{/path/to/directory/}} --name {{container}} --template download`
`sudo lxc-create --lxcpath {{/path/to/directory/}} --name {{container}} --template download`
- Create a container passing options to a template:
`lxc-create --name {{name}} --template download -- --dist {{distro-name}} --release {{release-version}} --arch {{arch}}`
`sudo lxc-create --name {{name}} --template download -- --dist {{distro-name}} --release {{release-version}} --arch {{arch}}`