XenServer/BootFromISO

Here are some of the required steps to boot from ISO using XenServer.

TODO: this is a work in progress.

Create an ISO SR
First find the location of your EXT3 SR, and create a subdirectory called iso or similar.

Now you can create the ISO SR:

 sr_uuid=$(xe sr-create name-label=LocalISO type=iso device-config:location=/var/run/sr-mount/ /iso device-config:legacy_mode=true content-type=iso)

xe sr-param-set other-config:i18n-key=local-storage-iso uuid=$sr_uuid 

Import ISO into Glance
Import and ISO file using format=iso

Start VM
Now start the above image, but using a flavor with >0GB of disk.