mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone
Blob Blame History Raw
From ebddbb3a7283e013f551063dc8ac53b2d2ee9ead Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Mon, 15 Dec 2014 13:43:34 +0000
Subject: [PATCH] v2v: Password attr in domain XML should be 'passwd='
 (RHBZ#1174123).

(cherry picked from commit 7a218cbdf635af543479256593e448100406ea1e)
---
 v2v/output_libvirt.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/output_libvirt.ml b/v2v/output_libvirt.ml
index a27d3e5..dc9466c 100644
--- a/v2v/output_libvirt.ml
+++ b/v2v/output_libvirt.ml
@@ -229,7 +229,7 @@ let create_libvirt_xml ?pool source targets guestcaps target_features =
     | Some { s_keymap = Some km } -> append_attr ("keymap", km) graphics
     | _ -> ());
     (match source.s_display with
-    | Some { s_password = Some pw } -> append_attr ("password", pw) graphics
+    | Some { s_password = Some pw } -> append_attr ("passwd", pw) graphics
     | _ -> ());
 
     video, graphics in
-- 
1.8.3.1