ensure that video is never wide open
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9b44d29b50
commit
18d4a1b0bc
@ -1008,6 +1008,9 @@ sub makedom {
|
||||
} elsif (not $xml) {
|
||||
$xml = build_xmldesc($node,cd=>$cdloc);
|
||||
}
|
||||
my $parseddom = $parser->parse_string($xml);
|
||||
my ($graphics) = $parseddom->findnodes("//graphics");
|
||||
$graphics->setAttribute("passwd",genpassword(20));
|
||||
my $errstr;
|
||||
eval { $dom=$hypconn->create_domain($xml); };
|
||||
if ($@) { $errstr = $@; }
|
||||
|
Loading…
Reference in New Issue
Block a user