This commit is contained in:
2025-12-23 07:50:08 +00:00
parent 4c3ea0059d
commit 7826c6ed24
12 changed files with 2008 additions and 98 deletions

View File

@@ -440,6 +440,23 @@ install_dependencies() {
}
fi
# 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}"
echo " You may need to install mhvtl manually or from source"
}
# Create mhvtl directories if they don't exist
mkdir -p /etc/mhvtl
mkdir -p /opt/mhvtl
chown root:root /etc/mhvtl
chown root:root /opt/mhvtl
# Install databases (SQLite for compatibility, PostgreSQL as default)
echo " Installing database packages..."
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \