]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-start-ephemeral: Fix console() and add storage option
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 8 Jul 2013 15:01:36 +0000 (11:01 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 8 Jul 2013 15:50:42 +0000 (11:50 -0400)
commitb58e60e232a3049d946a3b18e6f21912cd3453f0
treee012921284324f49d1892947a5b17ecb8a17a471
parent39ffde307ad83bd407aaa6a0d81682902bab248b
lxc-start-ephemeral: Fix console() and add storage option

The introduction of the new console() python API broke
lxc-start-ephemeral's console(tty=1) call, I now changed that to
console() which does the right thing with both API versions.

This also adds a new storage-type option, letting the user choose to use
a standard directory instead of tmpfs for the container (but still have
it ephemeral).

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxc-start-ephemeral.in