diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index 9afdbba87..1274a3d16 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -1012,6 +1012,7 @@ sub makedom { my $parseddom = $parser->parse_string($xml); my ($graphics) = $parseddom->findnodes("//graphics"); $graphics->setAttribute("passwd",genpassword(20)); + $graphics->setAttribute("listen",'0.0.0.0'); my $errstr; eval { $dom=$hypconn->create_domain($xml); }; if ($@) { $errstr = $@; }