parent
8c14906a60
commit
6cbce81faa
@ -10,6 +10,7 @@
|
||||
- [Dashboard/Health] Detect broken VHD chains and display missing parent VDIs (PR [#6356](https://github.com/vatesfr/xen-orchestra/pull/6356))
|
||||
- [Proxy] Ability to bind a licence to an existing proxy (PR [#6348](https://github.com/vatesfr/xen-orchestra/pull/6348))
|
||||
- [Backup] Implement encryption for backup files on storage (PR [#6321](https://github.com/vatesfr/xen-orchestra/pull/6321))
|
||||
- [VM/Console] Don't connect if the [console is disabled](https://support.citrix.com/article/CTX217766/how-to-disable-the-console-for-the-vm-in-xencenter) [#6319](https://github.com/vatesfr/xen-orchestra/issues/6319)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
|
@ -382,6 +382,10 @@ export default class Xapi extends XapiBase {
|
||||
getVmConsole(vmId) {
|
||||
const vm = this.getObject(vmId)
|
||||
|
||||
if (vm.other_config.disable_pv_vnc === '1') {
|
||||
throw new Error('console is disabled for this VM')
|
||||
}
|
||||
|
||||
const console = find(vm.$consoles, { protocol: 'rfb' })
|
||||
if (!console) {
|
||||
throw new Error('no RFB console found')
|
||||
|
Loading…
Reference in New Issue
Block a user