On 11/02/2010 09:34 PM, jclift@xxxxxxxxxx wrote: > On 03/11/2010, at 2:17 PM, Osier Yang <jyang@xxxxxxxxxx> 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@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list