We would like to be able to deploy custom OS templates, common usage are things like Router Appliances such as Astaro or Kerio Control.
It's very easy to convert these into a template at a .tar.gz level, but most of them have custom network setup that does not match the existing 'ubuntu' or 'rhel' types and causes them to fail on provisioning.
Some of these also use custom kernels without Xen Paravirt, so it would be great to use HVM on Xen in these cases.
I propose the following two-step process to implement support for such appliances first easily, and then by expanding for better support later. IMHO many people would benefit from having some basic support that would require less testing/dev effort. IMHO it should be fairly easy to add a super basic custom template type.
Add a custom OS type, which uses optionally uses HVM and specifically does not attempt any setup or configuration of hostname or interface files, it simply extracts the tar or a raw disk image.
Add support for custom scripts to configure operating systems, so we can add specific support for configuring some distributions
It would also be great to support a method of getting information inside the virtual machine, such as the amazon EC2 method used by cloud-init, etc. To support 'inside VM' setup, rather than outside VM setup. This would work great for operating systems like FreeBSD, Solaris where the filesystem cannot be natively read.
Post is closed for comments.