mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-08-22 02:36:37 +00:00
fix(test): fix integration test failures for SDN, containers, OVA, suspend
- SDN: zone ID cannot contain hyphens — rename 'pester-zone' to 'pesterz' - SDN: subnet removal uses original CIDR, not transformed ID - Containers: New-PveContainer now auto-assigns VM ID via /cluster/nextid when -VmId is omitted (was missing, unlike New-PveVm) - OVA: enable 'images' content type on local storage for import-from - Suspend: add delay before status check, use Should -Not -Throw pattern Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -30,7 +30,7 @@ echo "=== Preparing test environment on ${NESTED_IP} ==="
|
||||
|
||||
# Enable snippets and import content types on local storage
|
||||
echo "Configuring local storage content types..."
|
||||
${SSH_CMD} "mkdir -p /var/lib/vz/snippets && pvesm set local --content iso,vztmpl,snippets,import"
|
||||
${SSH_CMD} "mkdir -p /var/lib/vz/snippets && pvesm set local --content images,iso,vztmpl,snippets,import"
|
||||
|
||||
# Upload cloud-init user-data snippet (no API for snippet upload)
|
||||
echo "Uploading cloud-init user-data snippet..."
|
||||
|
||||
Reference in New Issue
Block a user