]> git.ipfire.org Git - thirdparty/lxc.git/commit
Teach lxc_unshare about interfaces, mounts, hostname, daemonize
authorSeth Robertson <srobertson@appcomsci.com>
Wed, 4 Dec 2013 05:28:56 +0000 (00:28 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 15 Jan 2014 21:42:36 +0000 (15:42 -0600)
commitc1bb25a831fdd568fb8c899b67a7be63c21f4a10
treeac991b2f567dbb26084065c30165ce0022c5cdc7
parent13d8bde96f0a21da92bcf353ad5db3f6f83172c2
Teach lxc_unshare about interfaces, mounts, hostname, daemonize

lxc_unshare now takes one or more '-i interfacename' arguments which
will move the named interfaces into the created container.

lxc_unshare now takes -M argument which will cause the standard mounts
(/proc /dev/shm /dev/mqueue) to be auto-mounted inside container.

lxc_unshare now takes '-H hostname' argument to automatically set
the hostname in the container.

lxc_unshare now takes -D argument to automatically daemonize and detach
from the created container, instead of waiting for the container to exit

Signed-off-by: Seth Robertson <srobertson@appcomsci.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
doc/lxc-unshare.sgml.in
src/lxc/lxc_unshare.c