[PLDWWW] page changed: docs:lxc

"Elan Ruusamäe (glen)" glen at pld-linux.org
Tue Nov 19 00:46:24 CET 2013


[Guest creation] 

--- https://www.pld-linux.org/docs/lxc?rev=1384815724
+++ https://www.pld-linux.org/docs/lxc
@@ -23,25 +23,48 @@
  
  
  
  ==== 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>
- 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)]] 
    * th - [[:ThInfo|PLD 3.0 (Th)]] 
+ 
  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>
- !!! WARNING: pld template for LXC is yet to be written !!! 
  
+ !!! WARNING: pld template for LXC is yet to be written !!! 
  ==== Vserver comparision ====
  
  ^ Vserver ^ LXC ^ Notes ^
  | vserver test enter | lxc-attach -n test -e | Use ''-e'' option with care, especially when restarting processess |


Diff URL:
  https://www.pld-linux.org/docs/lxc?do=diff&r1=1384815724&r2=1384818384
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list