diff --git a/installer/install.sh b/installer/install.sh index a0de867..ee65291 100755 --- a/installer/install.sh +++ b/installer/install.sh @@ -442,14 +442,17 @@ install_dependencies() { # Install mhvtl (Virtual Tape Library) for VTL functionality echo " Installing mhvtl (Virtual Tape Library)..." - DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \ - mhvtl \ - mhvtl-utils \ - mtx \ - sg3-utils || { - echo -e "${YELLOW}Warning: mhvtl installation failed, VTL features may not be available${NC}" + MHVTL_INSTALLER="$SCRIPT_DIR/mhvtl-installer" + if [[ -f "$MHVTL_INSTALLER" ]]; then + chmod +x "$MHVTL_INSTALLER" 2>/dev/null || true + if ! "$MHVTL_INSTALLER"; then + echo -e "${YELLOW}Warning: mhvtl installer failed, VTL features may not be available${NC}" + echo " You may need to install mhvtl manually or from source" + fi + else + echo -e "${YELLOW}Warning: mhvtl-installer not found at $MHVTL_INSTALLER${NC}" echo " You may need to install mhvtl manually or from source" - } + fi # Create mhvtl directories if they don't exist mkdir -p /etc/mhvtl diff --git a/installer/mhvtl-installer b/installer/mhvtl-installer new file mode 100644 index 0000000..71c5526 Binary files /dev/null and b/installer/mhvtl-installer differ