What is a linked clone and what does this error mean?

bignose

New Member
Nov 23, 2022
5
0
1
Hi,

I'm experimenting with Packer, following this blog: https://thedatabaseme.de/2022/10/16/what-a-golden-boy-use-packer-to-build-proxmox-images/

When I get to the point of running packer, I get this error, I think it's due to my storage configuration of LVM on just a single SSD drive maybe?

Code:
❯ packer build -var-file=variables.json ubuntu2204.json
proxmox-clone: output will be in this color.

==> proxmox-clone: Creating VM
==> proxmox-clone: No VM ID given, getting next free from Proxmox
==> proxmox-clone: Error creating VM: 500 Linked clone feature is not supported for drive 'scsi0'
Build 'proxmox-clone' errored after 64 milliseconds 968 microseconds: Error creating VM: 500 Linked clone feature is not supported for drive 'scsi0'

==> Wait completed after 65 milliseconds 86 microseconds

==> Some builds didn't complete successfully and had errors:
--> proxmox-clone: Error creating VM: 500 Linked clone feature is not supported for drive 'scsi0'

==> Builds finished but no artifacts were created.

Question: What is a linked clone, and how can I make this work? I'm fine with re-installing proxmox, this is just a lab.
 
Question: What is a linked clone, and how can I make this work?
Documentation is usually a good place to start when researching fundamental product features:
https://pve.proxmox.com/wiki/VM_Templates_and_Clones#Linked_Clone
https://pve.proxmox.com/pve-docs/chapter-qm.html#qm_copy_and_clone

how can I make this work
Compare the supported storage for linked clones with the one you are using now, is it on the list?


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Thank you for pointing me where I should have looked but lacked the patience.

Should anyone else encounter this:

1: Shut down the VM you want to clone with packer
2: Right click and convert it to a template.
3: Profit.