Hello, I am using shared storage and i want to keep all the configuration files of vms of different hosts in one single location (on shared storage). Is there a way i can change the default path=/etc/libvirt/qemu/<VMName>.xml to something else. I looked into libvirtd.conf and qemu.conf but could not find any such thing. -- Jatin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110708/0d2888de/attachment.htm>
Soeren Grunewald
2011-Jul-08 06:45 UTC
[libvirt-users] Changing path of VM configuration files
Hallo, the easiest way to do this, would be to mount /etc/libvirt to a different location. e.g. using nfs. $ cat /etc/fstab <nfshost>:/libvirt/configs /etc/libvirt nfs defaults 0 0 <nfshost>:/libvirt/images /var/lib/libvirt/images nfs defaults 0 0 -- Regards Soeren On 07/08/2011 01:40 AM, Jatin Kumar wrote:> Hello,I am using shared storage and i want to keep all the configuration files of vms of different hosts in one single location (on shared storage). > Is there a way i can change the default path=/etc/libvirt/qemu/<VMName>.xml to something else. > I looked into libvirtd.conf and qemu.conf but could not find any such thing. > > > -- > Jatin >