mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 07:55:33 +02:00
lxc-create: add sudo (#15827)
This commit is contained in:
parent
1422efad18
commit
726bc74bbf
1 changed files with 3 additions and 3 deletions
|
@ -5,12 +5,12 @@
|
|||
|
||||
- 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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue