Revert "v0.4.65: Local directory ISO source (bind-mount workaround for Unraid)"

This reverts commit 72a2089c98.
This commit is contained in:
Miles Ward
2026-05-28 10:47:17 -04:00
parent 761489761c
commit 07e7c18698
12 changed files with 29 additions and 1027 deletions
+1 -12
View File
@@ -4,7 +4,7 @@ use openpxe_core::{
AdminStore, BootLog, BrandingStore, ClientRegistry, DeploymentQueue, HostBindings, LogBus,
Metrics, SettingsStore, SsoStore,
};
use openpxe_iso_store::{IsoStore, LocalDirManager, NfsHostCaps, NfsManager, SmbManager};
use openpxe_iso_store::{IsoStore, NfsManager, SmbManager};
use std::sync::Arc;
use time::OffsetDateTime;
@@ -49,17 +49,6 @@ pub struct AppState {
/// available in the runtime image. Surfaces errors per-mount rather
/// than failing the global state.
pub nfs: NfsManager,
/// v0.4.65: bind-mounted host directories surfaced as ISO sources.
/// The container-friendly workaround for hosts (Unraid is the
/// dominant case) whose kernel lacks NFS client modules. Always
/// present; the operator opts in by registering paths from the
/// Storage tab.
pub local_dirs: LocalDirManager,
/// v0.4.65: host-kernel capability snapshot (from
/// `/proc/filesystems`). Snapshotted once at startup; the Storage
/// tab uses `available` to decide whether to show a "your kernel
/// doesn't have NFS client support" banner above the NFS form.
pub nfs_host_caps: NfsHostCaps,
/// Browser chunked upload state. Multipart uploads still go straight
/// through `IsoStore`, but the UI uses sessions so large ISO transfers
/// can show deterministic progress and leave visible partial files.