[Libguestfs] virt-customize fail to inject firstboot script when running it from script.

Richard W.M. Jones rjones at redhat.com
Tue Mar 14 18:23:43 UTC 2017


On Tue, Mar 14, 2017 at 05:58:53PM +0200, Keresztes Péter-Zoltán wrote:
> Figured it out.
> 
> The generated script had CRLF line termination. When we have removed the \r from the end if line everything started to work.

That's good that you worked this out.  Is this something that
can be helped and/or fixed in virt-customize do you think?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list