2

Just discovering ganeti and playing around; from what I saw it's only possible to create instances by 'de-bootstrapping' a flavour of OS.

I'm wondering if it's possible to have 'ready to go' templates like for example a 'LAMP' template or a 'DNS Server' template to choose from when creating the instance.

Haven't found much documentation on that; if anyone has an idea ..

Thanks !

Disco
  • 1,491

2 Answers2

2

I wrote a different instance OS definition has is based on using disk images for deployment. It's called ganeti-instance-image and should probably fit the role you need. The basic idea is manually creating the base image you want and then creating a filesystem dump or tarball that will be used by this OS definition. It works quite nicely!

Or, if you want to continue to use instance-debootstrap, you can create a variant that lists different extra_pkgs="" set to build out the LAMP template you want. Basically "templates" are like "variants" in Ganeti.

2

The howto you're looking for is in the manpage ganeti-os-interface, or online here. Please read it and if it's not explaining things correctly let us know at ganeti@googlegroups.com.

thanks, iustin

iustin
  • 193