Ah crap. So I found out as to *why* it was doing it. Seems that from HTML form input to creating the script the formatting messed up and added windows-style carriage returns. A quick *dos2unix* before running the "--firstboot" script seems to have fixed the issue. As always, the issue was between the chair and the computer :D Thanks for the reply though! Charlie Drage PGP - 4096R/C037D617 http://pgp.mit.edu/pks/lookup?op=get&search=0xDA227403C037D617 On Fri, Oct 7, 2016 at 5:18 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
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