lxd-dashboard icon indicating copy to clipboard operation
lxd-dashboard copied to clipboard

How to add external image / Windows

Open kevinwells22 opened this issue 4 years ago • 3 comments

Hi, how would I add an external image, ie, something I created with distrobuilder, a Windows image for example please?

kevinwells22 avatar Oct 02 '21 19:10 kevinwells22

As of now, the only way I know to do it is by directly downloading it to the LXD host via command line. I created a guide on setting up a Windows virtual-machine on an LXD server here: https://lxdware.com/creating-a-windows-server-2019-instance-in-lxd/. You can create the profiles or configuration you want in the dashboard, but downloading of the ISO and starting the instance with a VGA screen will require the command-line.

matthewalanpenning avatar Oct 05 '21 01:10 matthewalanpenning

Thanks, yes, I have already created a windows VM, manually, I was just asking bout how to include custom images in lxd-dashboard, if I had a custome Ubuntu image, for example, where would I donwload it to, so it would beusable in lxd-dashboard please?

kevinwells22 avatar Oct 05 '21 05:10 kevinwells22

I think the part that is missing would be importing your custom image. There is an lxc image import command that would be what you would use. Also if you setup an LXC instance with all your custom settings, there is an option in the lxd-dashboard to publish that instance to an image. That could then be used to create new instances. I have not worked through the process of converting an existing Ubuntu install on physical hardware to a virtual-machine, so I am not sure of all the steps that would take to do to turn it into an image.

matthewalanpenning avatar Oct 12 '21 09:10 matthewalanpenning