Bug 239687
Summary: | wanted: some way to get the console terminal | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gerd Hoffmann <kraxel> |
Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | berrange, xen-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-07-26 08:44:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gerd Hoffmann
2007-05-10 15:19:33 UTC
Well you can get the information from 'dumpxml' output, it's just a matter of filtering, virsh could do it, but is that worth adding a new command ? Daniel When it is worth a separate command for the vnc graphical console, the same should apply to the text console, no? It would provide easy access to the tty for scripting purposes, for example to attach the console to a screen window (screen as in "terminal multiplexer app"). As Gerd says in comment #2, we already have a vncdisplay command - principally because parsing XML from a shell script is a horrific task. Same motivation applies for getting the console path - both are reasonably commonly needed bits of info about a VM for shell scripting purposes. It's be nice if Fedora bundled the xpath command (http://www.xml.com/lpt/a/954), which makes shell scripting this all quite easy. Okay, I added a ttyconsole command which does this, it's upstream and will be in the next release (probably 0.3.2), thanks, Daniel |