From feb1776aa1abfedeefca782cb07ddd59f3dac414 Mon Sep 17 00:00:00 2001 From: Kevin Adams Date: Sun, 24 May 2026 17:45:35 -0400 Subject: [PATCH] docs: update CLAUDE.md to reflect v3.0 single-repo build Remove all references to the external packer repo and v2.x patch approach. Document the self-contained build.yml pipeline, packaging layout, and current open issues accurately. Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 100 +++++++++++++++++++++++++++++------------------------- 1 file changed, 54 insertions(+), 46 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0ff3759..4bee39b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,79 +2,87 @@ ## What This Project Is -A storage plugin "wedge" for Proxmox VE (PVE) that allows PVE to manage iSCSI LUNs on TrueNAS/FreeNAS via the TrueNAS REST API instead of the traditional SSH-based `iscsiadm` approach. +A native `PVE::Storage::Custom` plugin for Proxmox VE (PVE) that manages TrueNAS ZFS volumes over iSCSI via the TrueNAS REST API. Each VM gets its own dedicated iSCSI target; QEMU drives the connection directly via `iscsi://` paths — no `iscsiadm`, no SSH keys, no patches to PVE core files. The plugin installs as a Debian package and works by: -1. Deploying a new Perl LunCmd handler (`FreeNAS.pm`) to `/usr/share/perl5/PVE/Storage/LunCmd/` -2. Patching three Proxmox VE system files at install time via `dpkg triggers` +1. Copying `TrueNAS.pm` to `/usr/share/perl5/PVE/Storage/Custom/` (auto-discovered by PVE) +2. Copying `truenas-storage.js` to `/usr/share/pve-manager/js/` and injecting one `