Hi,
when I run

   lxc-create -f config_template -t debian -n NNN

the config file gets doubled in NNN/config

First, in lxc-create on line 127, there is a copy command:

   cp $lxc_config $lxc_path/$lxc_name/config

and then in /usr/lib64/lxc/templates/lxc-debian, the hardcoded values get
appended (line 188 on the latest git-commit from 1. Oct.):

   cat <<EOF >> $path/config

This looks like a minor bug in the design.

I'm using lxc 0.7.2-1 on Debian Squeeze.

Ciao
Helmut

-- 
-------------------------------------------------------------------------
Helmut Lichtenberg  <helmut.lichtenb...@fli.bund.de>  Tel.: 05034/871-128
Institut für Nutztiergenetik (FLI)         31535 Neustadt         Germany
-------------------------------------------------------------------------

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to