I don't see any reason why you shouldn't pretty easily be able to implement it. Look at the other templates to see how they do it.
Quoting Kim C. Callis (kim.cal...@gmail.com): > The problem seems to be in the template for the centos. As it stands it > doesn't allow for me to change the build type... > > On Sun, Feb 10, 2013 at 10:59 PM, alvaro miranda <kiki...@gmail.com> wrote: > > > Yes you can, and it will work. > > > > With the lxc-oracle I am able to create containers 32 and 64 bits on a > > 64bit host. > > > > > > From: "Kim C. Callis" <kim.cal...@gmail.com> > > Date: Monday, 11 February 2013 4:29 PM > > To: <lxc-users@lists.sourceforge.net> > > Subject: Re: [Lxc-users] How to create a 32-bit container? > > > > Ok, back to the original question... It would seem that lxc-centos does > > not make use of the --arch switch to specify the architecture of the build. > > So would it stand to be true that there is no way currently to create a > > 32-bit container on a 64-bit host? Or could I get creative, load a 32-bit > > version of Ubuntu via KVM/qemu, then build create a 32-bit version of > > centos, and then tar up and move the directory to my 64-bit host? Or am I > > just burning up cycles and destined to watch it blow up when I transfer it > > to the 64 bit host? > > > > > > > > On Sun, Feb 10, 2013 at 9:43 PM, Kim C. Callis <kim.cal...@gmail.com>wrote: > > > >> Actually, I believe that I have found the answer in the > >> help.ubuntu.com/12.10/serverguide/lxc.html guide. It would seem that I > >> can pass -a i386 to the creation of the lxc-create and should be good to > >> go. I will give that a try and see if that works! > >> > >> > >> On Sun, Feb 10, 2013 at 9:39 PM, Kim C. Callis <kim.cal...@gmail.com>wrote: > >> > >>> I am still playing around with the centos container, and was curious is > >>> if I could make a 32-bit container even if it being built on a 64-bit > >>> host? > >> > >> > >> > > ------------------------------------------------------------------------------ > > Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall > > before the end March 2013 and get the hardware for free! Learn more. > > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________Lxc-users > > mailing list > > Lxc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/lxc-users > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Lxc-users mailing list > Lxc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-users ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users