Virsh: Different XML with edit than dumpxml. Why?
Posted
by
Dave Vogt
on Server Fault
See other posts from Server Fault
or by Dave Vogt
Published on 2010-12-23T12:10:30Z
Indexed on
2010/12/23
12:55 UTC
Read the original article
Hit count: 306
virtualization
|libvirt
I'm trying to fetch the VNC access data from a virtual machine managed by libVirt. However, when I run virsh dumpxml $machine
, the vnc passwd is missing:
<graphics type='vnc' port='-1' autoport='yes'/>
Checking the same using virsh edit $machine
, I see the password is actually there:
<graphics type='vnc' port='-1' autoport='yes' passwd='asdf'/>
Why is this? Is this intentional (what reason?), or could this be a bug?
© Server Fault or respective owner