Hello, Thank you for your response. It is indeed trivial to change the default extension of the filename. But then again, so is changing the imagetype with qemu from raw fully allocated to qcow2 sparse and then editing the virtual machine properties with virsh edit. (or at least it is for me)
It takes a little more effort to create a template xml or a huge one liner to create a new vm. Most things are not to difficult, but I just want the damn thing to do this for me by default. It wouldn't be the first time that after I finished creating a new vm I would notice it has the wrong image type, or the wrong video card (cirrus in stead of qxl) , incorrect display (vnc in stead of spice) etc etc. ( hence the trivial editing of kvm vm's afterwards for me) I'm getting tired of that, and I don't like modifying my xml-template or oneliner scripts everytime i create a vm. I would really appreciate it if I could explain to libvirt, to use sparse qcow2 images, qxl video card, spicy display, usb redirection etc etc by default Rob 2013/6/11 Tony Su <[email protected]>: > You'll have to describe how you're creating your machine. > > If you use libvirt (eg vm-install from App Launch menu, Yast or vm > manager), AFAIK simply changing the filename extension changes the > disk format and this is next to trivial simply by clicking on the > "details" disk property link. > > You might also find it easy to simply create your machine from the > CLI, after you do it the first time you have your template and it's > simple enough to do afterwards. > > Tony > > On Mon, Jun 10, 2013 at 11:40 PM, Rob Verduijn <[email protected]> wrote: >> Hello, >> >> I want to change the defaults when a new vm is created. >> ie now the default hd is a raw image that is fully allocated when you >> create a vm. >> I would like to change it to qcow2 sparse image. >> Does anybody know how to do this or where to find documentation for this ? >> >> Regards >> Rob >> -- >> To unsubscribe, e-mail: [email protected] >> To contact the owner, e-mail: [email protected] >> -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
