mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0238-v2v-update-URL-with-glance-metadata.patch

b66178
From e423737f2b70c4bc709e75344985e7b1f6691bd4 Mon Sep 17 00:00:00 2001
b66178
From: Pino Toscano <ptoscano@redhat.com>
b66178
Date: Tue, 16 Feb 2016 14:42:44 +0100
b66178
Subject: [PATCH] v2v: update URL with glance metadata
b66178
b66178
(cherry picked from commit 967e887e43cea3ffb6572b24cc995a0bb893e80f)
b66178
---
b66178
 v2v/output_glance.ml | 2 +-
b66178
 1 file changed, 1 insertion(+), 1 deletion(-)
b66178
b66178
diff --git a/v2v/output_glance.ml b/v2v/output_glance.ml
b66178
index f120cfa..f8c8806 100644
b66178
--- a/v2v/output_glance.ml
b66178
+++ b/v2v/output_glance.ml
b66178
@@ -94,7 +94,7 @@ object
b66178
       "os_type", inspect.i_type;
b66178
       "os_distro",
b66178
       (match inspect.i_distro with
b66178
-      (* http://docs.openstack.org/grizzly/openstack-compute/admin/content/image-metadata.html *)
b66178
+      (* http://docs.openstack.org/cli-reference/glance.html#image-service-property-keys *)
b66178
       | "archlinux" -> "arch"
b66178
       | "sles" -> "sled"
b66178
       | x -> x (* everything else is the same in libguestfs and OpenStack *)
b66178
-- 
b66178
1.8.3.1
b66178