[Users] booting a vm on a raw file disk definated in a hook script

Nathanaël Blanchet blanchet at abes.fr
Fri May 25 14:47:22 UTC 2012

Hi all,

I'm using this hook script : 
My goal is to boot a vm on a vm image imported form libvirt/kvm. I want 
to use this single image, that is to say without importing it into ovirt 
with tools like v2v.
acathrow told me on irc that I'd have to change the boot order in the 
xml, but I don't know how to proceed for many reasons:

  * I can't create a vm through the UI which would boot on the disk
    created by the hook script without first creating a disk on the
    relevant storage domain. If I try I have those warnings :

    hook: Cannot run VM without at least one bootable disk.
    -Create a disk for this VM, and rerun the VM.
    -Change the boot sequence using the Edit VM command (Boot Option
    -Use the Run-Once command to select a different boot option and
    rerun the VM.
  * If I run a vm with the first disk from the storage domain and an
    additional disk from the hook script, how could I change the boot
    order in the xml definition file if I don't know the xml definition
    of the main disk?

thanks all for your help

Nathanaël Blanchet (glafouille)

Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d'information
227 avenue Professeur-Jean-Louis-Viala
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanchet at abes.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120525/5a20de97/attachment-0001.html>

More information about the Users mailing list