<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.3">
</HEAD>
<BODY>
I usually run redhat based LXCs (centos, SL, rhel), but I also ran a 32 bit squeeze containers. What I usually do is either use yum (in redhat's case) to create an environment, then chroot to it and finish the set up, or use debootstrap for a minimal debian/ubuntu/whatever_deb_based install, then again chroot to it and install with apt-get what else is needed. Then I proceed to setup the rc scripts and create a container with lxc-create. It's a bit more work than using the templates but I tailor the containers to my exact needs. However I wouldn't recommend this approach for a large deployment, as it is time consuming. I too would love to hear ideas for large automated deployments, thought.<BR>
<BR>
BR,<BR>
--ilf<BR>
<BR>
On Wed, 2012-02-29 at 09:48 -0300, Sergio Charpinel Jr. wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Iliyan, you are right.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Let me ask again. What is the best way to create a full debian 6 VM (with its modules) to run with LXC? Debootstrap just install a minimal system.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Thanks<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Em 28 de fevereiro de 2012 18:08, Iliyan Stoyanov <<A HREF="mailto:ilf@ilf.me">ilf@ilf.me</A>> escreveu:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
Just a random thought, do you have the gre drivers in the kernel of the host machine. Either compiled in, or modprobe-d?
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
On Tue, 2012-02-28 at 15:25 -0300, Sergio Charpinel Jr. wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Hi,<BR>
<BR>
<BR>
I want to create virtual network interfaces to use with GRE Tunnels. <BR>
<BR>
<BR>
Using debootstrap, I've installed debian squeeze, and configured my virtual interface as below:<BR>
<BR>
<BR>
auto tun0<BR>
iface tun0 inet static<BR>
address 10.1.253.1<BR>
netmask 255.255.255.252<BR>
up ifconfig tun0 multicast<BR>
pre-up iptunnel add tun0 mode gre remote 10.27.1.253 local 10.27.1.1 ttl 255<BR>
pointopoint 10.1.253.2<BR>
post-down iptunnel del tun0<BR>
<BR>
<BR>
But i get the following error: "ipgre init: can't add protocol" .<BR>
<BR>
<BR>
I've already tried with debian Lenny from lxc-debian script, but a different error appears. <BR>
<BR>
<BR>
Any ideas?<BR>
<BR>
<BR>
Thanks in advance.<BR>
<BR>
<BR>
-- <BR>
Sergio Roberto Charpinel Jr.<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
<A HREF="http://p.sf.net/sfu/learndevnow-d2d">http://p.sf.net/sfu/learndevnow-d2d</A>
_______________________________________________ Lxc-users mailing list <A HREF="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</A> <A HREF="https://lists.sourceforge.net/lists/listinfo/lxc-users">https://lists.sourceforge.net/lists/listinfo/lxc-users</A>
</PRE>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
-- <BR>
Sergio Roberto Charpinel Jr.<BR>
<BR>
</BLOCKQUOTE>
</BODY>
</HTML>