[Libguestfs] [PATCH 0/2] virt-builder OpenSUSE images
Pino Toscano
ptoscano at redhat.com
Wed Sep 9 13:33:22 UTC 2015
On Tuesday 08 September 2015 12:16:37 Pino Toscano wrote:
> Hi Cédric,
>
> On Tuesday 08 September 2015 09:40:21 Cédric Bosdonnat wrote:
> > Here are two patches to get opensuse images in virt-builder.
> >
> > Cédric Bosdonnat (2):
> > Allow curl to follow redirects.
> > builder: add opensuse images sources
> >
> > builder/Makefile.am | 3 ++-
> > builder/downloader.ml | 4 ++--
> > builder/opensuse.conf.in | 3 +++
> > builder/opensuse.gpg | 21 +++++++++++++++++++++
> > configure.ac | 1 +
> > 5 files changed, 29 insertions(+), 3 deletions(-)
> > create mode 100644 builder/opensuse.conf.in
> > create mode 100644 builder/opensuse.gpg
>
> Really nice work! Both patches LGTM.
>
> The only problem is that patch #2 does not apply cleanly after my
> SimpleStreams work for virt-builder, so can you please rebase it?
> I just pushed patch #1, which applies fine.
>
> I gave the images a try, and a couple of notes so far are:
> - mllib/passwords.ml:default_crypto does not know about opensuse, so
> assumes md5 for shadow (there's a warning when setting up passwords);
> should be easy to fix
This has been fixed with
https://github.com/libguestfs/libguestfs/commit/1b4c1d74d36c942417ea946a561a1964b20a1191
> - none of the images then boot, reporting that /sbin/init cannot be
> executed, with error -28.
Apparently, even though -28 is -ENOSPC on Linux, it seems like the
issue was the too limited RAM for the guest. The default for qemu is
128 MiB, and bumping it to 512 M made it run.
So, looking forward to see the rebased patch!
Thanks,
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20150909/cb8aabd4/attachment.sig>
More information about the Libguestfs
mailing list