Confused!! (a little) Templates, OS Templates, Cloud-Init and pre installed software.

Andy259

New Member
Dec 9, 2024
10
0
1
How do,

So I find myself stuck again and a little confused, I've installed a module that allows creation of VM's through WHMCS, within the module settings there in VM config there are options for OS templates (which I'm really hoping it means extra software is installed with the OS, lets say Webmin) and for ISO Image which is obviously what is installed as standalone and is the OS which is reinstalled when the client chooses that option from the client area (or they can install from a selection of other OS's) but they can also choose to install what is called an OS template in this module, I have looked at Virtualizor before and I'm assuming this is similar to their "Control Panel" auto install feature which is available in their client area once you visit you can choose to install from a variety of control panels, Plesk, Webmin, Webcontrol etc.

So can I achieve this and is it as I had hoped and a template created within Proxmox and Passed to the WHMCS client area as a complete package? when a client clicks on the reinstall OS button it opens a page with 2 tabs One says ISO Images and they choose, the other says OS templates again they make their selection and the selection is installed hopefully with webmin as mentioned above.
 
please ask WHMCS support for more information about their module and how to do things there (or what the "template" there refers to!)

in PVE there are two kinds of templates:

- for containers, a template is what is used to create the container (it's a tarball containing the rootfs, usually in a "not-yet-configured" state)
-- you can create such templates yourself using various tools such as distrobuilder, DAB, AAB
-- you can download pre-made templates using "pveam" or the web UI
- for both VMs and containers, you can convert an existing guest into a template (usually after some preparation steps, such as "sysprep" on windows)
-- this makes its volumes immutable
-- you can no longer start such a guest
-- you can create a new clone (linked depending on storage capabilities, full always) from it which is a regular guest again
-- there is no buitin archive of such templates for downloading, you have to create and manage them yourself