Template Basics
Overview
Templates are crucial components in the Gallium ecosystem that streamline the deployment of Virtual Machines (VMs). A template contains multiple settings that define VM characteristics and may be provided by Gallium or created manually.
Template Settings
-
Name — Serves as the short identifier for your template.
-
Description — Provides detailed information about the template, including any customizations or deployment scripts.
-
OS Type — Determines the operating system for VMs created from the template with three options:
- Linux: Requires VirtIO Storage and Network drivers, which are included in modern distributions.
- Windows: Also requires VirtIO drivers, but these must be manually added since Windows doesn't include them by default.
- Other: Uses SATA device drivers and E1000 network adapters for maximum compatibility across diverse operating systems, though with potential performance trade-offs.
-
Minimum Memory — Specifies the smallest memory allocation for VMs created from the template.
-
Disks — Supports up to 6 disks in QCOW2 or ISO format:
- Uploaded Disks are cloud-stored and can be cached locally; they're expandable at VM creation.
- Blank Disks are empty and created during each VM deployment.
- Uploaded ISOs function as optical media mounted at boot, useful when cloud-ready images aren't available.
Template Setup Process
The creation workflow involves three phases:
-
Create Draft — Begin via
Inventory > Templates > Create New Templateto define OS and memory settings. -
Configure Disks — Upload disk images in appropriate formats as the storage foundation for deployed VMs.
-
Finalise — Once configured, finalize the template for VM deployment; finalized templates cannot be modified.