/etc/nova/nova.conf
[vnc]
[vnc]
novncproxy_base_url = http://xxx.xxx.xx.xx.6080/vnc_auto.html //IP 또는 domain으로 변경 외부 접근 가능
ex) novncproxy_base_url = http://127.0.0.1:6080/vnc_auto.html //localhost로 외부에서 링크 클릭 시 접속 불가
[변경 전]
#nova get-vnc-console [Name or ID] novnc
+-------+------------------------------------------------------------------------------------------+
| Type | Url |
+-------+------------------------------------------------------------------------------------------+
| novnc | [<http://127.0.0.1:6080/vnc_auto.html?path=%3Ftoken%3Dec8eb7e5-12ee-4b9c-9f14-19c9f8ee8f6a>](<http://127.0.0.1:6080/vnc_auto.html?path=%3Ftoken%3Dec8eb7e5-12ee-4b9c-9f14-19c9f8ee8f6a>) |
+-------+------------------------------------------------------------------------------------------+
#systemctl restart nova* //nova 관련 모두 데몬 재시작
[변경 후]
#nova get-vnc-console [Name or ID] novnc //vnc링크 제작
+-------+----------------------------------------------------------------------------------------------+
| Type | Url |
+-------+----------------------------------------------------------------------------------------------+
| novnc | [<http://xxx.xx.xxx.xx:6080/vnc_auto.html?path=%3Ftoken%3D7dac994d-32cc-4b2d-a810-106b09ffe3bb>]() |
+-------+----------------------------------------------------------------------------------------------+
'Server > OpenStack' 카테고리의 다른 글
| OpenStack Selfservice 설치 및 설정 사설IP 생성 후 인스턴스에 연결 (0) | 2023.05.23 |
|---|---|
| openstack router 생성 또는 설정 작업 시 ResourceNotFound: 404 error (0) | 2023.05.23 |
댓글