This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
docs:lxc [2013-11-19 00:02] glen [Vserver comparision] vserver-stat equivalent |
docs:lxc [2013-11-19 00:46] glen [Guest creation] |
||
---|---|---|---|
Line 25: | Line 25: | ||
==== Guest creation ==== | ==== Guest creation ==== | ||
- | Build the guest system: | ||
- | <file># lxc-create -t pld-test -p pld -f network-configuration-file | + | Build the guest container. |
+ | |||
+ | === Bare minimum, no template === | ||
+ | |||
+ | <file bash> | ||
+ | # lxc-create -n test | ||
+ | lxc-create: No config file specified, using the default config /etc/lxc/default.conf | ||
+ | 'test' created | ||
+ | |||
+ | # lxc-ls --fancy | ||
+ | NAME STATE IPV4 IPV6 | ||
+ | ----------------------------------- | ||
+ | test STOPPED - | ||
</file> | </file> | ||
- | There are two versions of PLD available for guest systems: | ||
+ | this just creates ''$LXC_ROOT/test'' directory with ''config'' copied from ''/etc/lxc/default.conf'' inside. | ||
+ | |||
+ | === PLD Linux from template === | ||
+ | |||
+ | create guest with default config using pld template: | ||
+ | <file> | ||
+ | # lxc-create -n test -t pld | ||
+ | </file> | ||
+ | |||
+ | |||
+ | NOTYET: | ||
+ | |||
+ | There are two versions of PLD available for guest systems: | ||
* ac - [[:AcInfo|PLD 2.0 (Ac)]] | * ac - [[:AcInfo|PLD 2.0 (Ac)]] | ||
* th - [[:ThInfo|PLD 3.0 (Th)]] | * th - [[:ThInfo|PLD 3.0 (Th)]] | ||
+ | |||
You may choose one using ''-R'' option: | You may choose one using ''-R'' option: | ||
- | + | <file> | |
- | + | # lxc-create -t pld-test -p pld -f network-configuration-file -- -R th | |
- | <file># lxc-create -t pld-test -p pld -f network-configuration-file -- -R th | + | |
</file> | </file> | ||
- | !!! WARNING: pld template for LXC is yet to be written !!! | ||
+ | !!! WARNING: pld template for LXC is yet to be written !!! | ||
==== Vserver comparision ==== | ==== Vserver comparision ==== | ||