Hi, I didn't know about that option. It's a more elegant solution than the huge one liner script, but it's still scripting. (not that I mind that) But my goal was getting other defaults in the gui. I'm not to bad with scripting virt-install, I've managed to create a script that sets up a virtual class room environment with a server that contains the installation repos (automatically updating), dns dhcp, pxe boot, and several test machines without the need of a single keystroke. (I got a little carried away on that one, but it was a nice exercise :-P )
I guess I'm stuck with editing scripts or xml files. Rob 2013/6/18 Bruno Friedmann <[email protected]>: > On Tuesday 18 June 2013 13.28:35 Rob Verduijn wrote: >> Hello, >> >> I've checked the /etc/default/vm-install settings, it takes care of >> the qcow2 format, but it's rather limited for the other options >> (spares, qxl, spice, etc etc), or are there more options than the ones >> commented out in that file ? >> >> Rob >> >> 2013/6/12 Jim Fehlig <[email protected]>: >> > Rob Verduijn 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 >> >> ? >> > >> > See /etc/default/vm-install >> > >> > Regards, >> > Jim > > Rod did you check the man page of vm-install there's several option you could > have. I'm thinking especially about the > --vm-settings FILE > An XML file describing the VM's settings. Subsequent command-line arguments > will override settings from the XML, > which allows the XML to be treated as a template. > > So you could prepare the template, then adjust exactly what you need for > create a "specific templated" vm. > > -- > > Bruno Friedmann > Ioda-Net Sàrl www.ioda-net.ch > > openSUSE Member & Ambassador > GPG KEY : D5C9B751C4653227 > irc: tigerfoot > -- > 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]
