Some checks failed
Test / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
# config/vm-profiles.yaml
|
|
# VM Profile Definitions
|
|
# This file defines standardized VM profiles that can be used by automation tools,
|
|
# Terraform, and future AI tooling to create VMs with consistent configurations.
|
|
|
|
profiles:
|
|
dev-ubuntu-22:
|
|
description: "Developer VM with Docker, NVM, Node 22 LTS, PNPM on Ubuntu 22.04"
|
|
os:
|
|
name: ubuntu
|
|
version: "22.04"
|
|
type: cloud-init # assumes you're using a cloud-init template in Proxmox
|
|
template_name: "ubuntu-22.04-ci-template" # name of the Proxmox template to clone
|
|
resources:
|
|
cores: 4
|
|
memory_mb: 8192
|
|
disk_gb: 80
|
|
network:
|
|
bridge: "vmbr0"
|
|
model: "virtio"
|
|
tags:
|
|
- dev
|
|
- cursor
|
|
- docker
|
|
provisioning:
|
|
type: "cloud-init" # or "remote-exec" if you prefer Terraform ssh
|
|
script_path: "infrastructure/proxmox/provision-dev-ubuntu-22.sh"
|
|
|
|
proxmox-mail-gateway:
|
|
description: "Proxmox Mail Gateway (PMG) 9.0 - Email security and filtering appliance"
|
|
os:
|
|
name: proxmox-mail-gateway
|
|
version: "9.0-1"
|
|
type: iso # ISO-based installation
|
|
iso_url: "https://enterprise.proxmox.com/iso/proxmox-mail-gateway_9.0-1.iso"
|
|
iso_filename: "proxmox-mail-gateway_9.0-1.iso"
|
|
resources:
|
|
cores: 2
|
|
memory_mb: 4096
|
|
disk_gb: 50
|
|
network:
|
|
bridge: "vmbr0"
|
|
model: "virtio"
|
|
config: "dhcp" # DHCP for network configuration
|
|
tags:
|
|
- mail
|
|
- security
|
|
- gateway
|
|
provisioning:
|
|
type: "iso" # Manual installation via ISO
|
|
vmid: 105
|
|
|