Displaying 2 results from an estimated 2 matches for "d86c637".
Did you mean:
d86967
2016 Sep 08
1
[PATCH] virt-v2v: Support for ova exported from AWS [v2]
...refix to disk path
There is an open bug for oVirt:
https://bugzilla.redhat.com/show_bug.cgi?id=1371843
Signed-off-by: Shahar Havivi <shaharh@redhat.com>
---
v2v/input_ova.ml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml
index d86c637..974caeb 100644
--- a/v2v/input_ova.ml
+++ b/v2v/input_ova.ml
@@ -185,7 +185,8 @@ object
let name =
match xpath_string "/ovf:Envelope/ovf:VirtualSystem/ovf:Name/text()" with
| None | Some "" ->
- error (f_"could not parse ovf:Name from OVF docum...
2016 Aug 08
1
[PATCH] sparsify, v2v: use Common_utils.absolute_path
...ot (Filename.is_relative disk) then disk
- else Sys.getcwd () // disk in
+ let disk_absolute = absolute_path disk in
(* The rest of virt-v2v doesn't actually work unless we detect
* the format of the input, so:
diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml
index 13c18b2..d86c637 100644
--- a/v2v/input_ova.ml
+++ b/v2v/input_ova.ml
@@ -100,9 +100,7 @@ object
) in
(* Exploded path must be absolute (RHBZ#1155121). *)
- let exploded =
- if not (Filename.is_relative exploded) then exploded
- else Sys.getcwd () // exploded in
+ let exploded = absolu...