Bug 590799
Summary: | guestfish donot work with xen domain xml | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Kirby Zhou <kirbyzhou> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-05-12 11:58:16 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
Kirby Zhou
2010-05-10 17:56:42 UTC
> [root@djt-18-97 ~]# guestfish -i kirby-dev.xml
I see what you're trying to do, but the '-i' option can
only be used on disk image(s), not on libvirt XML.
You can extract the disk image paths from the
XML by doing:
$ xpath /domain/devices/disk/source < /tmp/dev.xml
Found 2 nodes:
-- NODE --
<source dev="/dev/vgxpool/kirby-dev" />
-- NODE --
<source dev="/dev/vgxpool/kirby-dev-data0" />
[Using the xpath program from perl-XML-XPath]
Then run guestfish -i directly on those disk images:
# guestfish -i /dev/vgxpool/kirby-dev /dev/vgxpool/kirby-dev-data0
Or ... if the domain is in libvirt, you can just do: # guestfish -i NameOfDomain This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Closing, since this is not a bug. |