<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Ah crap. So I found out as to *why* it was doing it.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Seems that from HTML form input to creating the script the formatting messed up and added windows-style carriage returns.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">A quick <b>dos2unix</b> before running the "--firstboot" script seems to have fixed the issue.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">As always, the issue was between the chair and the computer :D</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks for the reply though!</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Charlie Drage<br>PGP - 4096R/C037D617<br><a href="http://pgp.mit.edu/pks/lookup?op=get&search=0xDA227403C037D617" target="_blank">http://pgp.mit.edu/pks/lookup?op=get&search=0xDA227403C037D617</a></div></div></div>
<br><div class="gmail_quote">On Fri, Oct 7, 2016 at 5:18 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Oct 07, 2016 at 04:42:21PM -0400, Charlie Drage wrote:<br>
> I apologize if this is not the appropriate place to contact you..<br>
<br>
</span>Adding the mailing list.<br>
<span class=""><br>
> Got a weird issue!<br>
><br>
> So when I use --firstboot via virt-sysprep on a host, it's totally fine.<br>
><br>
> However..<br>
><br>
> In this scenario:<br>
> 1. virt-sysprep an offline image<br>
> 2. transfer said image from one node to another<br>
> 3. bring it up via libvirt<br>
><br>
> It errors out with:<br>
> === Running /usr/lib/virt-sysprep/scripts/<wbr>0001--tmp-292-firstboot ===<br>
> /etc/init.d/virt-sysprep-<wbr>firstboot: 35: /etc/init.d/virt-sysprep-<wbr>firstboot:<br>
> /usr/lib/virt-sysprep/scripts-<wbr>done/0001--tmp-292-firstboot: not found<br>
><br>
> My question is! When applying this "firstboot" script, is it required that<br>
> it's brought up on the same host that virt-sysprep'd it?<br>
<br>
</span>No, there's no such requirement.<br>
<br>
This could be a bug, but it's hard to say. What version of<br>
virt-sysprep? What guest type & version?<br>
<br>
Rich.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~<wbr>rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
virt-top is 'top' for virtual machines. Tiny program with many<br>
powerful monitoring features, net stats, disk stats, logging, etc.<br>
<a href="http://people.redhat.com/~rjones/virt-top" rel="noreferrer" target="_blank">http://people.redhat.com/~<wbr>rjones/virt-top</a><br>
</font></span></blockquote></div><br></div>