Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-16 00:20:08 +00:00
parent 367b1e4cb2
commit 07c7ca9e90
25 changed files with 227 additions and 85 deletions

View File

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