mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0087-v2v-Password-attr-in-domain-XML-should-be-passwd-RHB.patch

0d20ef
From ebddbb3a7283e013f551063dc8ac53b2d2ee9ead Mon Sep 17 00:00:00 2001
0d20ef
From: "Richard W.M. Jones" <rjones@redhat.com>
0d20ef
Date: Mon, 15 Dec 2014 13:43:34 +0000
0d20ef
Subject: [PATCH] v2v: Password attr in domain XML should be 'passwd='
0d20ef
 (RHBZ#1174123).
0d20ef
0d20ef
(cherry picked from commit 7a218cbdf635af543479256593e448100406ea1e)
0d20ef
---
0d20ef
 v2v/output_libvirt.ml | 2 +-
0d20ef
 1 file changed, 1 insertion(+), 1 deletion(-)
0d20ef
0d20ef
diff --git a/v2v/output_libvirt.ml b/v2v/output_libvirt.ml
0d20ef
index a27d3e5..dc9466c 100644
0d20ef
--- a/v2v/output_libvirt.ml
0d20ef
+++ b/v2v/output_libvirt.ml
0d20ef
@@ -229,7 +229,7 @@ let create_libvirt_xml ?pool source targets guestcaps target_features =
0d20ef
     | Some { s_keymap = Some km } -> append_attr ("keymap", km) graphics
0d20ef
     | _ -> ());
0d20ef
     (match source.s_display with
0d20ef
-    | Some { s_password = Some pw } -> append_attr ("password", pw) graphics
0d20ef
+    | Some { s_password = Some pw } -> append_attr ("passwd", pw) graphics
0d20ef
     | _ -> ());
0d20ef
 
0d20ef
     video, graphics in
0d20ef
-- 
0d20ef
1.8.3.1
0d20ef