On 11/02/2010 09:34 PM, jclift(a)redhat.com wrote:
On 03/11/2010, at 2:17 PM, Osier Yang <jyang(a)redhat.com>
wrote:
> how about just to change it into:
>
> - % virsh dumpxml dom > domain.xml
> - edit domain.xml
> - % virsh create < domain.xml
It's a thought, but still isn't making it completely clear.
If we were to change it like this:
virsh dumpxml dom > domain.xml
vi domain.XML
(make changes to the XML using your text editor)
virsh create < domain.xml
Or maybe:
virsh dumpxml dom > domain.xml
vi domain.XML # or other text editor of your choice
virsh create < domain.xml
That would probably work. The "vi" here is only useful because people will
recognize it easily.
That, and vi is the only editor required by POSIX, unless you count ed
(rms explicitly requested that emacs not be part of POSIX, and nano,
gedit, kate, and so forth are all relative whippersnappers in the editor
market). But whatever you do, please don't change it to 'notepad.exe
domain.xml' :)
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org