mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-09-04 19:25:36 +00:00
fix(ci): first-boot repo fix, robust cleanup, and script fixes
- first-boot.sh: Remove .sources files (PVE 9 DEB822 format) not just .list, and detect suite (trixie vs bookworm) from debian.sources - create-api-token.sh: Accept full endpoint URL (fixes missing port), use /access/domains for API check (no auth needed on PVE 9), avoid pipefail on curl|python3 pipe - preflight-cleanup.sh: New script that runs at start and end of every provisioning run — cleans orphaned VMs, ISOs, and stale terraform state - Workflow: Add pre-flight and final cleanup steps so failed runs can't leave the runner/host in a broken state All changes validated manually on the self-hosted runner. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -14,3 +14,7 @@ source = "from-dhcp"
|
||||
[disk-setup]
|
||||
filesystem = "ext4"
|
||||
disk_list = ["sda"]
|
||||
|
||||
[first-boot]
|
||||
source = "from-iso"
|
||||
ordering = "fully-up"
|
||||
|
||||
Reference in New Issue
Block a user