[Libguestfs] [PATCH] customize: add --commands-from-file

Richard W.M. Jones rjones at redhat.com
Wed Jan 21 15:54:20 UTC 2015


On Wed, Jan 21, 2015 at 04:32:39PM +0100, Pino Toscano wrote:
> Pass to --commands-from-file the name of a file containing customization
> commands in each line, as if they were specified as command line
> arguments.

I like the idea, but the file format needs to be more structured.
It's very common for --edit and --run-command to be split across
multiple lines (example: [1]).

What other options are there for this file?  Something that can deal
with multi-line input but without excessive escaping.

Rich.

[1] https://rwmj.wordpress.com/2014/01/13/tip-set-the-keyboard-layout-in-virt-builder/

-- 
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