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
This commit is contained in:
jbjohnso
2011-05-06 14:20:37 +00:00
parent fae8bdaf07
commit 0ac03023e8
+1
View File
@@ -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 = $@; }