Skip to content
Snippets Groups Projects
Commit f1ce169d authored by James Arcus's avatar James Arcus
Browse files

Cleanup from POC work

parent 68f7d636
No related merge requests found
Pipeline #838 passed with stages
in 1 minute
......@@ -31,7 +31,6 @@ apply:
apply
rules:
- if: '$CI_COMMIT_BRANCH == "main"'
when: manual
before_script:
- tofu init
script:
......
......@@ -20,11 +20,9 @@ resource "proxmox_vm_qemu" "membervm_nogui" {
for_each = local.config
# Per-VM settings
name = each.key
desc = each.value.desc
vm_state = "stopped"
target_node = each.value.node
sockets = each.value.sockets
......@@ -34,6 +32,8 @@ resource "proxmox_vm_qemu" "membervm_nogui" {
ciuser = each.value.primary_user
sshkeys = each.value.primary_sshkey
vm_state = each.value.state
# Set the template, then all remaining settings must match those for that template
clone = "memberVM-nogui-template"
......
"test-otf-1":
desc: "Test VM 1"
# Copy this block and alter as needed, ensuring the top-level key is not indented.
"test-otf":
desc: "Test VM"
node: medico
sockets: 1
cores: 2
memory: 4096 # in MB
disk: 50G # must be >= 50G
primary_user: debian
primary_sshkey: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICSY5zCVa6hsWgGM08u4WVl1bPRjmxLzDyk51ioAd0nT jimbo@potoroo"
"test-otf-2":
desc: "Test VM 2"
node: magikarp
sockets: 1
cores: 1
memory: 1024
disk: 70G # must be >= 50G
primary_user: auser
primary_sshkey: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICSY5zCVa6hsWgGM08u4WVl1bPRjmxLzDyk51ioAd0nT jimbo@potoroo"
state: stopped # can be either running or stopped
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment