add mhvtl installer binary

This commit is contained in:
root
2025-12-23 23:03:09 +07:00
parent 7826c6ed24
commit 094ea1b1fe
2 changed files with 10 additions and 7 deletions

View File

@@ -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

BIN
installer/mhvtl-installer Normal file

Binary file not shown.