From 0ac03023e870c2fe7d9d3fd16571368223ce6abc Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 6 May 2011 14:20:37 +0000 Subject: [PATCH] Opportunistically change listen parameter on VMs for new rvid behavior git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@9503 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 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 = $@; }