]> git.ipfire.org Git - thirdparty/lxc.git/commit
add template option for lxc-create
authorDaniel Lezcano <daniel.lezcano@free.fr>
Sun, 27 Dec 2009 21:36:09 +0000 (22:36 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Sun, 27 Dec 2009 21:36:09 +0000 (22:36 +0100)
commit1b6d8e7197f1f80a0c17ba59e51e59f59cc09ec1
treec485bd2c8bcf9a8a65717f76c2fdf4a69587562d
parentfb7460fe60699b637bbb97b404e752284e755519
add template option for lxc-create

The lxc-create command is now able to call a sub script to install
a mini template.
Right now, debian is supported.

The rootfs is stored automatically in <lxcpath>/<name>/rootfs
So the rootfs is a subdirectory of the container configuration directory.

When lxc-destroy is called, the rootfs is deleted with the container
configuration.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-create.in