]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/attach.c
attach: implement remaining options of lxc_attach_set_environment
authorChristian Seiler <christian@iwakd.de>
Tue, 13 Aug 2013 21:04:37 +0000 (23:04 +0200)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 14 Aug 2013 21:51:31 +0000 (16:51 -0500)
commit3d5e9f4801c0311a6300fc781a4c0a09a6d463fe
tree0fb97fba68dcb81f87020135c6e3cf01f60bcbbe
parentd7a09c630b2150636bf4dfb266bc632abd65dfa8
attach: implement remaining options of lxc_attach_set_environment

This patch implements the extra_env and extra_keep options of
lxc_attach_set_environment.

The Python implementation, the C container API and the lxc-attach
utility are able to utilize this feature; lxc-attach has gained two new
command line options for this.

Signed-off-by: Christian Seiler <christian@iwakd.de>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/attach.c
src/lxc/lxc_attach.c