[lxc-devel] OpenSUSE seed containers...

Stéphane Graber stgraber at ubuntu.com
Wed Jun 25 22:52:07 UTC 2014


The first OpenSUSE builds just finished and we now have OpenSUSE 12.3
published for amd64 and i386, privileged containers only though (the
usual systemd problem I guess).


On Wed, Jun 25, 2014 at 02:21:16PM -0400, Michael H. Warfield wrote:
> On Wed, 2014-06-25 at 13:27 -0400, Stéphane Graber wrote:
> > Thanks,
> 
> > I've been doing most of the required changes and I should have something
> > sort-of working later today.
> 
> > However I've noticed a few things that probably should be fixed:
> >  - DHCP isn't starting automatically on eth0, I've got to call "dhcpcd eth0"
> 
> Hmmm...  Strange.  I thought I had fixed that in the template and had
> tested it with a gen-3 container build under a gen-2 container build
> from my gen-1 VM.  Check /etc/sysconfig/network-scripts/ifcfg-eth0 for
> "dhcp".  I'll look into that further.
> 
> >  - The template doesn't allow you to specify the release or the architecture
> 
> That's something the SUSE gang needs to look at.  I'm not totally sure
> zypper will support the cross arch option but, using a seed container
> with an arch option set does work for building future containers of the
> cross arch build.  Release should be doable, I just haven't looked at
> it.
> 
> > The second point is the most important as I usually run the build
> > environment on the native architecture of the host and then just pass
> > the right architecture to the template.
> 
> Yeah, if that can be done, it would be great.  Most of my past
> experience was with SUSE on a zLinux mainframe and not much help here.
> Maybe Thorsten over at SUSE might have some input on this particular
> aspect.
> 
> Thorsten?
> 
> Regards,
> Mike
> 
> > On Wed, Jun 18, 2014 at 04:59:00PM -0400, Michael H. Warfield wrote:
> > > Stéphane (et al)...
> > > 
> > > Here are the seed containers I promised you for OpenSUSE to go with that
> > > template update I shipped in a little bit ago.
> > > 
> > > There are three sets of two tarballs (one each per arch i686 / x86_64).
> > > 
> > > These two can be used to prime /var/cache/lxc
> > > 
> > > opensuse-13.1-cache-i686.tgz
> > > opensuse-13.1-cache-x86_64.tgz
> > > 
> > > These two are minimal OpenSUSE containers as created by lxc-create in an
> > > OpenSUSE container of the appropriate arch.  It includes the rootfs and
> > > config file.
> > > 
> > > opensuse-13.1-i686.tgz
> > > opensuse-13.1-x86_64.tgz
> > > 
> > > These two are beefed up containers with packages added that will allow
> > > these containers to build LXC rpms (they were used to create the
> > > lxc-1.0.4 rpm's I used to build these containers - some tinkering of
> > > lxc.spec was required), install the rpm's and use them to build
> > > additional opensuse containers from within the containers.
> > > 
> > > opensuse-13.1-chainbuild-i686.tgz
> > > opensuse-13.1-chainbuild-x86_64.tgz
> > > 
> > > The packages that were added to create the later two was as follows...
> > > 
> > > zypper install sudo make rpmbuild libcap libcap-devel docbook2X graphviz python3-devel lua-devel python3 vim yum /usr/bin/xsltproc build
> > > 
> > > That will "make rpm" on a pre-autoconfed and pre-configured directory.
> > > I couldn't locate aclocal so autogen.sh hurled chunks on me.  But, I
> > > could do an autogen in the host and rsync the src directory to the
> > > containers so I really didn't care.
> > > 
> > > The tarballs fairly large.  The first 4 are a little better than 110MB
> > > and the later two are just shy of 400MB each.
> > > 
> > > A 3rd generation port run was performed on x86_64 confirming that the
> > > resulting containers would build containers identical to the containers
> > > from the 2nd generation port run.
> > > 
> > > I'm copying them up to my web site now.  It's going to take some time so
> > > it may be hours before all 6 are present.  You can get a head start
> > > downloading as the cache set are there now.
> > > 
> > > On IPv4:
> > > 
> > > http://www.wittsend.com/lxc/
> > > 
> > > On IPv6:
> > > 
> > > http://www.ip6.wittsend.com/lxc/
> > > 
> > > Regards,
> > > Mike
> > > -- 
> > > Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
> > >    /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
> > >    NIC whois: MHW9          | An optimist believes we live in the best of all
> > >  PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
> > > 
> > 
> > 
> > 
> > > _______________________________________________
> > > lxc-devel mailing list
> > > lxc-devel at lists.linuxcontainers.org
> > > http://lists.linuxcontainers.org/listinfo/lxc-devel
> > 
> > 
> > _______________________________________________
> > lxc-devel mailing list
> > lxc-devel at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-devel
> 
> -- 
> Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
>    /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
>    NIC whois: MHW9          | An optimist believes we live in the best of all
>  PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
> 



> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140625/e5a93b5c/attachment.sig>


More information about the lxc-devel mailing list