[Libguestfs] How to debug supermin5 issue?
Richard W.M. Jones
rjones at redhat.com
Thu Jul 21 11:37:19 UTC 2016
On Thu, Jul 21, 2016 at 07:31:51PM +0800, Chen Hanxiao wrote:
> At 2016-07-21 19:04:07, "Richard W.M. Jones" <rjones at redhat.com> wrote:
> >On Thu, Jul 21, 2016 at 06:50:52PM +0800, Chen Hanxiao wrote:
> >>
> >>
> >> At 2016-07-21 18:43:04, "Richard W.M. Jones" <rjones at redhat.com> wrote:
> >> >On Thu, Jul 21, 2016 at 06:36:20PM +0800, Chen Hanxiao wrote:
> >> >> the virtio modules in kmods did existed in this machine.
> >> >> with -v -v -v, I got:
> >> >
> >> >Can you attach or pastebin the complete output from this command on
> >> >the failing machine please:
> >> >
> >> >supermin5 --build -f ext2 -v -v -v /usr/lib64/guestfs/supermin.d -o /tmp/appliance.d
> >> >
> >>
> >> Sure.
> >>
> >> Please check the attachments.
> >
> >I'm not exactly sure what's wrong. There are two things you
> >can try:
> >
> >(1) Upgrade to a later supermin. The latest version is 5.1.16, which
> >is available here:
> >
> >https://people.redhat.com/~rjones/libguestfs-RHEL-7.3-preview/
> >
> >It is also much faster than 5.1.10.
>
> Hi, Rich:
>
> I download the rpm from
> https://people.redhat.com/~rjones/libguestfs-RHEL-7.3-preview/supermin5-5.1.16-4.el7.x86_64.rpm
>
> and exact it
Please install it using yum:
# cat > /etc/yum.repos.d/libguestfs-RHEL-7.3-preview.repo <<EOF
[libguestfs-RHEL-7.3-preview]
name=libguestfs RHEL 7.3 preview
baseurl=http://people.redhat.com/~rjones/libguestfs-RHEL-7.3-preview/
enabled=1
gpgcheck=0
EOF
# yum install supermin5
# supermin5 --version
> But
> #supermin -V
> supermin 4.1.4
>
> supermin: unknown option `--build'.
> supermin - tool for creating supermin appliances
> Copyright (C) 2009-2013 Red Hat Inc.
>
> Anything wrong?
On RHEL and CentOS 7 the tool is called 'supermin5'.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
More information about the Libguestfs
mailing list