search for: b2802c7

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

Did you mean: 2802,7
2015 Nov 10
0
[PATCH] customize, dib, resize, sysprep: Use 'may' pattern in various places.
...#set_memsize memsize); - (match smp with None -> () | Some smp -> g#set_smp smp); + may g#set_memsize memsize; + may g#set_smp smp; g#set_network network; (* Make sure to turn SELinux off to avoid awkward interactions diff --git a/resize/resize.ml b/resize/resize.ml index b2802c7..ff10fca 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -1210,17 +1210,8 @@ read the man page virt-resize(1). if p.p_bootable then g#part_set_bootable "/dev/sdb" p.p_target_partnum true; - (match p.p_label with - | Some label -> - g#part_set_...
2015 Nov 10
1
[PATCH] OCaml tools: use open_guestfs everywhere
...ed, prefix = parse_cmdline () in (* Connect to libguestfs. *) - let g = new G.guestfs () in - if trace () then g#set_trace true; - if verbose () then g#set_verbose true; + let g = open_guestfs () in add g; g#launch (); diff --git a/resize/resize.ml b/resize/resize.ml index af7b37f..b2802c7 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -284,7 +284,7 @@ read the man page virt-resize(1). printf "alignment\n"; printf "align-first\n"; printf "infile-uri\n"; - let g = new G.guestfs () in + let g = open_guestfs () in...