Difference between revisions of "XenServer/BootFromISO"
John Garbutt (talk | contribs) (→Create an ISO SR) |
John Garbutt (talk | contribs) (→Create an ISO SR) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
Now you can create the ISO SR: | Now you can create the ISO SR: | ||
− | < | + | |
− | sr_uuid=$(xe sr-create name-label=LocalISO type=iso device-config:location=/var/run/sr-mount/<yourguid>/iso device-config:legacy_mode=true content-type=iso) | + | <tt> |
+ | sr_uuid=$(xe sr-create name-label=LocalISO type=iso device-config:location=/var/run/sr-mount/<yourguid>/iso device-config:legacy_mode=true content-type=iso)<br /> | ||
xe sr-param-set other-config:i18n-key=local-storage-iso uuid=$sr_uuid | xe sr-param-set other-config:i18n-key=local-storage-iso uuid=$sr_uuid | ||
− | </ | + | </tt> |
== Import ISO into Glance == | == Import ISO into Glance == |
Latest revision as of 12:21, 20 March 2013
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/<yourguid>/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.