mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 06:53:19 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a container interactively in `/var/lib/lxc/`:
|
||||
|
||||
`sudo lxc-create --name {{container}} --template download`
|
||||
`sudo lxc-create {{[-n|--name]}} {{container}} {{[-t|--template]}} download`
|
||||
|
||||
- Create a container in a target directory:
|
||||
|
||||
`sudo lxc-create --lxcpath {{/path/to/directory/}} --name {{container}} --template download`
|
||||
`sudo lxc-create {{[-P|--lxcpath]}} {{/path/to/directory/}} {{[-n|--name]}} {{container}} {{[-t|--template]}} download`
|
||||
|
||||
- Create a container passing options to a template:
|
||||
|
||||
`sudo lxc-create --name {{name}} --template download -- --dist {{distro-name}} --release {{release-version}} --arch {{arch}}`
|
||||
`sudo lxc-create {{[-n|--name]}} {{name}} {{[-t|--template]}} download -- {{[-d|--dist]}} {{distro-name}} {{[-r|--release]}} {{release-version}} {{[-a|--arch]}} {{arch}}`
|
||||
|
||||
Reference in New Issue
Block a user