From 6ce2f057cbcb2a8f56531c53e099ffd02f238b52 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 2 May 2011 19:08:22 +0000 Subject: [PATCH] Attempt to have a kvm VM protected from start by password on wvid git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9462 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 f72ad59aa..576074538 100644 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -627,6 +627,7 @@ sub build_xmldesc { $xtree{devices}->{graphics}->{type}='vnc'; } $xtree{devices}->{graphics}->{autoport}='yes'; + $xtree{devices}->{graphics}->{password}=genpassword(10); $xtree{devices}->{sound}->{model}='ac97'; $xtree{devices}->{console}->{type}='pty';