-
-
Save takekawa/3869340 to your computer and use it in GitHub Desktop.
Openstack noVNCのコンソールで日本語キーボードを使用するための方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
二つの手順を実施する必要があります。 | |
1. nova.confの設定変更 (要VM再起動) | |
以下の文字列をnova.confに追加します。 | |
vnc_keymap=ja | |
openstackを再起動後(nova-computeだけ?)、新規のコンピュートはUS配列で文字列が入力可能になります。 | |
2. VM上のOSパラメータ変更 | |
VM上のOSにログイン後(ubuntuならば)以下のコマンドを実行します。 | |
sudo loadkeys jp | |
参考: | |
https://access.redhat.com/knowledge/docs/ja-JP/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-Virtualization-Troubleshooting-Missing_Characters_Guest_Console_Japanese_Keyboard.html |
jpじゃなくてjaだった....
devstack.shにはこんな感じで追加してみた
1782 VNCSERVER_LISTEN=${VNCSERVER_LISTEN=127.0.0.1}
1783 add_nova_opt "vncserver_listen=$VNCSERVER_LISTEN"
1784 add_nova_opt "vncserver_proxyclient_address=$VNCSERVER_PROXYCLIENT_ADDRESS"
1785 add_nova_opt "ec2_dmz_host=$EC2_DMZ_HOST"
1786 add_nova_opt "vnc_keymap=ja"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vnc_keymapというフラグがnova.confに存在するとのこと
./nova/virt/libvirt/driver.py