How do I access the template I created?

ksten

Active Member
Jan 16, 2018
11
0
41
54
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:

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:
This is all there is:

Code:
root@nuc13:/var/lib/vz# tree
.
├── dump
├── images
└── template
    ├── cache
    │   ├── debian-12-standard_12.2-1_amd64.tar.zst
    │   └── ubuntu-22.04-standard_22.04-1_amd64.tar.zst
    └── iso

6 directories, 2 files
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!