Sep 202012
 

这个其实很简单,直接修改文件就可以。

英文原文

备份文件

cp /usr/lib/python2.7/dist-packages/horizon/dashboards/nova/templates/nova/instances_and_volumes/instances/_detail_vnc.html /usr/lib/python2.7/dist-packages/horizon/dashboards/nova/templates/nova/instances_and_volumes/instances/_detail_vnc.html.bak

把分辨率从720*430,改成1280*1024

sed -i 's/width="720" height="430"/width="1280" height="1024"/g' /usr/lib/python2.7/dist-packages/horizon/dashboards/nova/templates/nova/instances_and_volumes/instances/_detail_vnc.html

重启apache

 

 Leave a Reply

(required)

(required)

This site uses Akismet to reduce spam. Learn how your comment data is processed.