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

Keresztes Péter-Zoltán zozo at z0z0.tk
Tue Mar 14 20:24:03 UTC 2017


Unless you can ignore different line terminations I don’t think so.

Regards,
Peter

> On 14 Mar 2017, at 20:23, Richard W.M. Jones <rjones at redhat.com> wrote:
> 
> 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