[Libguestfs] Quick question regarding the "--firstboot" parameter within virt-sysprep

Richard W.M. Jones rjones at redhat.com
Fri Oct 7 21:18:37 UTC 2016


On Fri, Oct 07, 2016 at 04:42:21PM -0400, Charlie Drage wrote:
> I apologize if this is not the appropriate place to contact you..

Adding the mailing list.

> Got a weird issue!
> 
> So when I use --firstboot via virt-sysprep on a host, it's totally fine.
> 
> However..
> 
> In this scenario:
> 1. virt-sysprep an offline image
> 2. transfer said image from one node to another
> 3. bring it up via libvirt
> 
> It errors out with:
> === Running /usr/lib/virt-sysprep/scripts/0001--tmp-292-firstboot ===
> /etc/init.d/virt-sysprep-firstboot: 35: /etc/init.d/virt-sysprep-firstboot:
> /usr/lib/virt-sysprep/scripts-done/0001--tmp-292-firstboot: not found
> 
> My question is! When applying this "firstboot" script, is it required that
> it's brought up on the same host that virt-sysprep'd it?

No, there's no such requirement.

This could be a bug, but it's hard to say.  What version of
virt-sysprep?  What guest type & version?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list