Initial commit: Adastra VTL Linux Distribution- Complete build system for VTL-focused Linux distro- mhvtl integration with 4 LTO drives and media changer- iSCSI target configuration for network connectivity- Automated installation and configuration scripts- Comprehensive documentation (architecture, installation, configuration)- Systemd service files and kernel tuning- Quick start wizard for easy setup
This commit is contained in:
97
quickstart.sh
Executable file
97
quickstart.sh
Executable file
@@ -0,0 +1,97 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "=========================================="
|
||||
echo " VTL Linux - Quick Start Script"
|
||||
echo "=========================================="
|
||||
echo ""
|
||||
|
||||
cat << 'EOF'
|
||||
This script will help you get started with VTL Linux.
|
||||
|
||||
Prerequisites:
|
||||
- Debian-based Linux system (for building)
|
||||
- Root/sudo access
|
||||
- 10GB+ free disk space
|
||||
- Internet connection
|
||||
|
||||
What would you like to do?
|
||||
|
||||
1) Build VTL Linux ISO
|
||||
2) Install mhvtl on current system
|
||||
3) Configure iSCSI targets
|
||||
4) Run post-install setup
|
||||
5) Check VTL status
|
||||
6) Show documentation
|
||||
7) Exit
|
||||
|
||||
EOF
|
||||
|
||||
read -p "Enter your choice [1-7]: " choice
|
||||
|
||||
case $choice in
|
||||
1)
|
||||
echo ""
|
||||
echo "Building VTL Linux ISO..."
|
||||
echo "This will take 15-30 minutes depending on your system."
|
||||
read -p "Continue? (y/n): " confirm
|
||||
if [ "$confirm" = "y" ]; then
|
||||
cd /vtl
|
||||
sudo bash build/build-iso.sh
|
||||
fi
|
||||
;;
|
||||
2)
|
||||
echo ""
|
||||
echo "Installing mhvtl..."
|
||||
read -p "Continue? (y/n): " confirm
|
||||
if [ "$confirm" = "y" ]; then
|
||||
sudo bash /vtl/scripts/install-mhvtl.sh
|
||||
fi
|
||||
;;
|
||||
3)
|
||||
echo ""
|
||||
echo "Configuring iSCSI targets..."
|
||||
read -p "Continue? (y/n): " confirm
|
||||
if [ "$confirm" = "y" ]; then
|
||||
sudo bash /vtl/scripts/configure-iscsi.sh
|
||||
fi
|
||||
;;
|
||||
4)
|
||||
echo ""
|
||||
echo "Running post-install setup..."
|
||||
read -p "Continue? (y/n): " confirm
|
||||
if [ "$confirm" = "y" ]; then
|
||||
sudo bash /vtl/scripts/post-install.sh
|
||||
fi
|
||||
;;
|
||||
5)
|
||||
echo ""
|
||||
if command -v vtl-status &> /dev/null; then
|
||||
sudo vtl-status
|
||||
else
|
||||
echo "vtl-status command not found. Run post-install setup first."
|
||||
fi
|
||||
;;
|
||||
6)
|
||||
echo ""
|
||||
echo "Available documentation:"
|
||||
echo " - README: /vtl/README.md"
|
||||
echo " - Installation Guide: /vtl/docs/INSTALLATION.md"
|
||||
echo " - Architecture: /vtl/docs/ARCHITECTURE.md"
|
||||
echo ""
|
||||
read -p "Open README? (y/n): " confirm
|
||||
if [ "$confirm" = "y" ]; then
|
||||
less /vtl/README.md
|
||||
fi
|
||||
;;
|
||||
7)
|
||||
echo "Goodbye!"
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "Invalid choice. Please run the script again."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
echo ""
|
||||
echo "Done!"
|
||||
Reference in New Issue
Block a user