mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Implement Libvirt Serial Console as Console on WebVirtCloud
This commit is contained in:
parent
f6915ac51f
commit
65dce10ce1
10 changed files with 398 additions and 2 deletions
|
@ -1019,6 +1019,8 @@ class wvmInstance(wvmConnect):
|
|||
|
||||
def get_console_type(self):
|
||||
console_type = util.get_xml_path(self._XMLDesc(0), "/domain/devices/graphics/@type")
|
||||
if console_type is None:
|
||||
console_type = util.get_xml_path(self._XMLDesc(0), "/domain/devices/console/@type")
|
||||
return console_type
|
||||
|
||||
def set_console_type(self, console_type):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue