I've set up an Ansible script to build a very basic Debian 12 container. Unfortunately, apt dist-upgrade hangs for 10 minutes the first time it's run, so I want to create a template from the point where that command finally finishes (I need to apt dist-upgrade because the base image openssh-server is broken).
So I ran:
Then to check, I ran:
... which is exactly what was there before I started. Where is my template?
So I ran:
Code:
root@nuc13:~/ansible-stuff# pct template 100
Renamed "vm-100-disk-0" to "base-100-disk-0" in volume group "pve"
Logical volume pve/base-100-disk-0 changed.
WARNING: Combining activation change with other commands is not advised.
Then to check, I ran:
Code:
root@nuc13:~/ansible-stuff# pveam list local
NAME SIZE
local:vztmpl/debian-12-standard_12.2-1_amd64.tar.zst 120.29MB
local:vztmpl/ubuntu-22.04-standard_22.04-1_amd64.tar.zst 123.81MB
... which is exactly what was there before I started. Where is my template?
Last edited: