xen-orchestra icon indicating copy to clipboard operation
xen-orchestra copied to clipboard

Allow to boot ISO when creating a VM from template with a disk

Open stormi opened this issue 6 years ago • 8 comments

When a VM template already has a disk, XO assumes that there's already a system on it and does not offer selecting an ISO in the new VM form.

It would be good to have a way either to flag the template as "has no installed system" or to have an optional way to select an ISO to boot from directly from the New VM view.

stormi avatar Sep 28 '18 14:09 stormi

This sounds like a boot order issue, which already exists. As far as I can see anyways.

chrome_2018-09-28_11-27-10

Jarli01 avatar Sep 28 '18 15:09 Jarli01

Simply add your disk to the template (CD presumably) and change the boot order for the template.

Jarli01 avatar Sep 28 '18 15:09 Jarli01

I'm talking of the new VM view actually, where you can select an ISO directly if there's no hard disk and you can't if there's one. I've edited the description.

stormi avatar Sep 28 '18 15:09 stormi

But you're using a template that has no disk drive, correct? If so you'd have to update the template to have a disk drive, and set that disk drive as the top boot priority.

Jarli01 avatar Sep 28 '18 15:09 Jarli01

I'm using a template that has an empty disk drive, which prevents me from selecting an ISO to boot from in the VM view. This is an enhancement request.

stormi avatar Sep 28 '18 15:09 stormi

Which template, I'm happy to help confirm.

Jarli01 avatar Sep 28 '18 15:09 Jarli01

A template that I created. Actually I already confirmed with @olivierlambert :)

stormi avatar Sep 28 '18 15:09 stormi

Fair enough.

Jarli01 avatar Sep 28 '18 15:09 Jarli01

This is likely a rather minor fix we could probably do before the end of the year.

olivierlambert avatar Sep 14 '23 08:09 olivierlambert

Do we just want the ISO option to appear like this: Screenshot from 2023-11-07 16-27-57

or do we want to select one of the 3 current options + an ISO ?

MelissaFrncJrg avatar Nov 07 '23 15:11 MelissaFrncJrg

That should be enough: if we decide to use an ISO, we don't want to use a config drive/Cloudinit anyway. So it sounds good to me :+1:

olivierlambert avatar Nov 07 '23 16:11 olivierlambert

I have been out of the loop for too long. The recent impressive changelog proves Vates to be a well oiled machine.

I just happened across this email I am subscribed to and see another issue fixed. Congratulations!

/etc/netplan.yaml has required some patience over the last few years, but learning to like it. (Side note, XML and XSLT doc template type would have made issues clear ahead of time and self-documented, but I digress.) Within the last year or so, I installed a bare metal machine via a Ubuntu cloud server image on a usb stick iso. I believe a second usb stick had the netplan.yaml(?) file used to configure networking. It will be months, but looking forward to trying “always show iso selector” enhancement out and providing more feedback :)

rjt avatar Nov 22 '23 12:11 rjt