mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-09-04 11:15:34 +00:00
fix(storage): implement Portal defaulting for iSCSI, fix Pool/CephPool selection, add NFS format validation
Co-authored-by: GoodOlClint <151449+GoodOlClint@users.noreply.github.com> Agent-Logs-Url: https://github.com/GoodOlClint/PSProxmoxVE/sessions/d84722e4-409e-4ced-bfbc-f323715b8bdc
This commit is contained in:
@@ -95,6 +95,13 @@ Describe 'Shared Storage — Integration' -Tag 'Integration' {
|
||||
|
||||
# Parse server and export from the full NFS export path (e.g. "10.0.0.1:/srv/nfs/shared")
|
||||
$nfsParts = $script:NfsExport -split ':', 2
|
||||
if (-not $nfsParts -or
|
||||
$nfsParts.Count -ne 2 -or
|
||||
[string]::IsNullOrWhiteSpace($nfsParts[0]) -or
|
||||
[string]::IsNullOrWhiteSpace($nfsParts[1])) {
|
||||
Set-ItResult -Skipped -Because "PVETEST_NFS_EXPORT must be in 'server:/export/path' format (current value: '$($script:NfsExport)')"
|
||||
return
|
||||
}
|
||||
$nfsServer = $nfsParts[0]
|
||||
$nfsExportPath = $nfsParts[1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user