add mhvtl installer binary
This commit is contained in:
@@ -442,14 +442,17 @@ install_dependencies() {
|
|||||||
|
|
||||||
# Install mhvtl (Virtual Tape Library) for VTL functionality
|
# Install mhvtl (Virtual Tape Library) for VTL functionality
|
||||||
echo " Installing mhvtl (Virtual Tape Library)..."
|
echo " Installing mhvtl (Virtual Tape Library)..."
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
|
MHVTL_INSTALLER="$SCRIPT_DIR/mhvtl-installer"
|
||||||
mhvtl \
|
if [[ -f "$MHVTL_INSTALLER" ]]; then
|
||||||
mhvtl-utils \
|
chmod +x "$MHVTL_INSTALLER" 2>/dev/null || true
|
||||||
mtx \
|
if ! "$MHVTL_INSTALLER"; then
|
||||||
sg3-utils || {
|
echo -e "${YELLOW}Warning: mhvtl installer failed, VTL features may not be available${NC}"
|
||||||
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"
|
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
|
# Create mhvtl directories if they don't exist
|
||||||
mkdir -p /etc/mhvtl
|
mkdir -p /etc/mhvtl
|
||||||
|
|||||||
BIN
installer/mhvtl-installer
Normal file
BIN
installer/mhvtl-installer
Normal file
Binary file not shown.
Reference in New Issue
Block a user