Server Templates
Server Templates are used to create Servers quickly and easily using pre-configured settings. A Flight Plan can be executed after a server is created from a template.
This allows automation of the server creation process and ensures that all necessary steps are performed automatically.
Access Rules
Group | Action | Condition |
---|---|---|
User | - | No access |
Manager | R | User is added to "Users" or "Managers" |
Manager | CRU | User is added to "Managers" |
Manager | CRUD | User is added to "Managers" and the record is created by the user |
Root | CRUD | Any record |
Info
CRUD stands for Create, Read, Update, Delete.
Server Template Configuration
Server Templates are located under the Cetmix Tower > Servers > Templates
menu.
General Settings
Field | Description |
---|---|
Name | Server Template name. |
Reference | Used for Odoo automation and YAML export/import. Leave blank to generate it automatically. |
Color | Used for more convenient identification in the kanban view. |
Flight Plan | Flight Plan to be executed automatically after a server is created. |
On Delete Plan | Flight Plan to be executed automatically before a server is deleted. |
Operating System | Default operating system for new servers. |
Tags | Default search tags for new servers. |
SSH Auth Mode | Default SSH authentication mode for new servers. Options: "Password" or "Key". |
SSH Port | Default SSH port for new servers. |
SSH Username | Default SSH username for new servers. |
Use sudo | Specify if sudo is required by default for all commands on new servers. |
SSH Password | Default SSH password for new servers. |
SSH Private Key | Default SSH private key for new servers. |
Note | Optional comments or user notes. |
Configuration
Default configuration variables that will apply to Servers created using this template. These values can be customized per Server as needed.
Important
Use the Required checkbox to mark a variable as mandatory. All Variables marked as "Required" must have a value. Otherwise, the server creation process will be blocked, and an appropriate warning message will be displayed.
Access Roles
Access Roles for this record for specific users.
Server Logs
Define default Server Logs for new servers created from this template.
YAML
Export the current record to a YAML file. The following data will be exported:
- General Settings
- Configuration
- Related Flight Plans
This tab is visible only to users with the "Cetmix Tower YAML > Export" setting enabled.
Please refer to the Cetmix Tower YAML documentation for more details.
Server Template Usage
Use the following step-by-step guide to create a new Server from a server template.