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 = $@; }