Mailinglist Archive: yast-devel (25 mails)

< Previous Next >
Re: Fwd: Re: [yast-devel] Simplifying QEMU installations: virt-installer
  • From: Stefan Hundhammer <shundhammer@xxxxxxxx>
  • Date: Mon, 21 Sep 2015 10:57:46 +0200
  • Message-id: <>
Am 17.09.2015 um 18:43 schrieb Roberto Angelino:
Do you have to have the ISOs on local disk?
> Is that what this variable is: vm.iso_dir????

This is how it's designed. But come to think of it, if you don't want to use find_iso() to locate the latest ISO matching a pattern, you might as well specify an HTTP URL:

vm.iso_dir = ""
vm.iso = "";

(untested, but IMHO it should work - just give it a try)

The rationale for using find_iso() is to let it use the latest matching ISO automatically without having to change the scripts all the time. Of course, it helps that the ISOs are named (by pure coincicence) so they can be sorted by filename:


(it fails with a *-GM*.iso)

Also, when I make my custom ISOs (which is common for us YaST developers since we need to test changed packages in the inst-sys), I create a driver update disk (DUD) from my custom-built RPMs, then integrate that DUD into the latest Beta (or RC) ISO with "mksusecd". I name my ISOS something like


so they are sorted AFTER the official ones, so my custom-built ISO has preference for testing.

When I want to switch back to the official Beta or RC ISOs, I simply move my custom-built ISOs out of the way (to a subdirectory); that's also why find_iso() does not descend into any subdirectories.

But if you don't need or want all that, feel free to use a HTTP URL. It might be a bit slower to fetch it from a remote location than from your local hard disk, though.

> Also it do an install of the iso or just sets up the VM and then
> you boot it and it goes in its merry way?

It all ends in a call to virt-install (part of the libvirt tools), which in turn starts QEMU with an installation from the specified ISO:

See also
man virt-install

If you have any more questions, feel free to ask.

Kind regards
Stefan Hundhammer <shundhammer@xxxxxxx>
YaST Developer

SUSE Linux GmbH
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >