Daniel Lezcano schrieb am 04. Oct 2010 um 15:11:17 CEST:
> I agree with this point, I think that should be changed.
>
> What I have in mind is to modify the distro package installation, the  
> ubuntu one for the moment, in order to ask for a default network  
> virtualization installation, macvlan or bridge + veth. The script will  
> be in charge to configure the system with the bridge and store the  
> information in /etc/lxc-default.conf (or whatever). The template will  
> use the information stored in this file to complete the configuration  
> for the container. In case the configuration is specified to lxc-create,  
> then this one will replace the default provided by the template.
>
> That will make the host and the container more consistent and will  
> satisfy the people complaining they have to configure the network  
> themselves for the host. As that will be the package installer which  
> will be in charge of that, lxc does not have to care about what kind of  
> distros it is running on.

Agreed. Additionally you could enable the package installers to provide
distribution specific configs, e.g.:

/etc/lxc/defaults
/etc/lxc/defaults/defaults.generic  # fallback
/etc/lxc/defaults/defaults.debian
/etc/lxc/defaults/defaults.ubuntu
...

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