From ce3fcef3996e269b356e3dffca710ebd4ae6e212 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 13 May 2011 15:22:58 +0000 Subject: [PATCH] Backport fix for vidproto fixup on KVM git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@9598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/kvm.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index 1bce25dff..f04e48efb 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -1013,6 +1013,7 @@ sub makedom { my ($graphics) = $parseddom->findnodes("//graphics"); $graphics->setAttribute("passwd",genpassword(20)); $graphics->setAttribute("listen",'0.0.0.0'); + $xml = $parseddom->toString(); my $errstr; eval { $dom=$hypconn->create_domain($xml); }; if ($@) { $errstr = $@; }