summaryrefslogtreecommitdiff
path: root/nova/vnc
diff options
context:
space:
mode:
authorMasanori Itoh <itoumsn@nttdata.co.jp>2011-05-17 01:00:16 +0900
committerMasanori Itoh <itoumsn@nttdata.co.jp>2011-05-17 01:00:16 +0900
commitd44299be90bbfcac5f8de1e1264b81fbb0bfa5e2 (patch)
tree21bfc448de99f49446f2bdddf984e2b928e504be /nova/vnc
parent8d8076ff87e988f40c9ee3a24b7c3963064921bd (diff)
downloadnova-d44299be90bbfcac5f8de1e1264b81fbb0bfa5e2.tar.gz
Add vnc_keymap flag and enable setting keymap for vnc console.
Diffstat (limited to 'nova/vnc')
-rw-r--r--nova/vnc/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/vnc/__init__.py b/nova/vnc/__init__.py
index b5b00e44e9..859bfd65f1 100644
--- a/nova/vnc/__init__.py
+++ b/nova/vnc/__init__.py
@@ -32,3 +32,5 @@ flags.DEFINE_string('vncserver_host', '0.0.0.0',
'the host interface on which vnc server should listen')
flags.DEFINE_bool('vnc_enabled', True,
'enable vnc related features')
+flags.DEFINE_string('vnc_keymap', 'en-us',
+ 'keymap for vnc')