HelperScripts-for-ProxmoxVE/misc
CanbiZ 0f7c201b57
core: extend storage type support (rbd, nfs, cifs) and validation (iscidirect, isci, zfs, cephfs, pbs) (#9646)
* core: enhance storage type validation and error codes

Improve storage validation for LXC container creation with
explicit checks for unsupported storage types.

Changes:
- Add validation for storage types that don't support containers:
  - iscsidirect (exit 212) - VMs only
  - iscsi/zfs (exit 213) - no rootdir support
  - cephfs (exit 219) - use RBD instead
  - pbs (exit 224) - backups only
- Add connectivity check for network storage (linstor, rbd, nfs, cifs)
- Simplify storage content validation using pvesm status
- Reorganize Proxmox error codes (200-231) for consistency
- Update error messages to be more descriptive and actionable

This helps users identify storage compatibility issues early
before container creation fails with cryptic errors.

* Update build.func
2025-12-04 19:41:01 +01:00
..
images ProxmoxVE svg logo (#6846) 2025-08-14 22:01:20 +02:00
alpine-install.func Three-tier defaults system | security improvements | error_handler | improved logging | improved container creation | improved architecture (#9540) 2025-12-04 07:52:18 +01:00
alpine-tools.func Three-tier defaults system | security improvements | error_handler | improved logging | improved container creation | improved architecture (#9540) 2025-12-04 07:52:18 +01:00
api.func Three-tier defaults system | security improvements | error_handler | improved logging | improved container creation | improved architecture (#9540) 2025-12-04 07:52:18 +01:00
build.func core: extend storage type support (rbd, nfs, cifs) and validation (iscidirect, isci, zfs, cephfs, pbs) (#9646) 2025-12-04 19:41:01 +01:00
cloud-init.func core: add cloud-init.func library for VM configuration (#9538) 2025-12-01 13:49:42 +01:00
core.func Three-tier defaults system | security improvements | error_handler | improved logging | improved container creation | improved architecture (#9540) 2025-12-04 07:52:18 +01:00
error_handler.func core: extend storage type support (rbd, nfs, cifs) and validation (iscidirect, isci, zfs, cephfs, pbs) (#9646) 2025-12-04 19:41:01 +01:00
install.func Three-tier defaults system | security improvements | error_handler | improved logging | improved container creation | improved architecture (#9540) 2025-12-04 07:52:18 +01:00
tools.func Improve Temurin JDK version detection 2025-12-04 09:20:32 +01:00