Specify autoport on update to avoid angering the libvirt gods with kvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0ecfd253eb
commit
346557fb7c
@ -675,7 +675,7 @@ sub getcons {
|
||||
} elsif ($type eq "vid") {
|
||||
my $tpasswd=genpassword(10);
|
||||
my $validto=POSIX::strftime("%Y-%m-%dT%H:%M:%S",gmtime(time()+300));
|
||||
$dom->update_device("<graphics type='".$consdata->{vidproto}."' passwd='$tpasswd' passwdValidTo='$validto'/>");
|
||||
$dom->update_device("<graphics type='".$consdata->{vidproto}."' passwd='$tpasswd' passwdValidTo='$validto' autoport='yes'/>");
|
||||
$consdata->{password}=$tpasswd;
|
||||
$consdata->{server}=$hyper;
|
||||
return $consdata;
|
||||
|
Loading…
Reference in New Issue
Block a user