search for: appendline

Displaying 2 results from an estimated 2 matches for "appendline".

Did you mean: append_line
2016 Sep 30
2
[PATCH] customize: Add --append-line.
...Password +open Append_line let run (g : Guestfs.guestfs) root (ops : ops) = (* Is the host_cpu compatible with the guest arch? ie. Can we @@ -204,6 +205,16 @@ exec >>%s 2>&1 (* Perform the remaining customizations in command-line order. *) List.iter ( function + | `AppendLine (path, line) -> + (* It's an error if it's not a single line. This is + * to prevent incorrect line endings being added to a file. + *) + if String.contains line '\n' then + error (f_"--append-line: line must not contain newline characters....
2019 Oct 15
4
Splitting the large libguestfs repo
I got a little way into this. The two attached patches are preliminary work. My proposed split is: libguestfs.git common -> git submodule libguestfs-common.git generator/ lib/ all language bindings C based tools (eg. virt-df, virt-edit, guestfish) guestfs-tools.git common -> git submodule libguestfs-common.git