On 10/04/2010 02:10 PM, Helmut Lichtenberg wrote: > 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. >
Hi Helmut, actually the configuration file passed to lxc-debian is supposed to be concatenate with the default specified in the template. I admit that can look weird :) ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
