You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warn "Unsupported Linux package manager for automatic Mountpoint install. Please install manually."
575
-
return 1
576
-
fi
577
-
578
-
ifcommand -v mount-s3 >/dev/null 2>&1;then
579
-
ohai "✅ Mountpoint for Amazon S3 installed successfully."
580
-
else
581
-
warn "Mountpoint for Amazon S3 installation may have failed; 'mount-s3' not found."
582
-
fi
583
-
}
584
-
585
-
install_mounting() {
586
-
title "Step 5: Install Mounting (S3)"
587
-
echo"🌘 Step 5: START"
588
-
589
-
# This wrapper ensures we only run mounting installers when multitenant is truthy
590
-
if [[ "${TFL_MULTITENANT:-}"=="true" ]];then
591
-
install_s3_mounting ||true
592
-
else
593
-
echo"Skipping mounting installation because TFL_MULTITENANT is not 'true'."
594
-
fi
595
-
596
-
echo"🌕 Step 5: COMPLETE"
597
-
}
598
-
599
482
print_success_message() {
600
483
title "Installation Complete"
601
484
echo"------------------------------------------"
@@ -614,11 +497,8 @@ print_success_message() {
614
497
}
615
498
616
499
# Load .env configuration (prefer current dir, then fallback to app src dir)
617
-
TFL_MULTITENANT=${TFL_MULTITENANT:-}
618
500
load_env_from_file "${RUN_DIR}/.env"
619
-
if [ -z"${TFL_MULTITENANT:-}" ];then
620
-
load_env_from_file "${TLAB_CODE_DIR}/.env"
621
-
fi
501
+
load_env_from_file "${TLAB_CODE_DIR}/.env"
622
502
623
503
# Check if there are positional arguments; if not, perform full install
624
504
if [[ "$#"-eq 0 ]];then
@@ -627,7 +507,6 @@ if [[ "$#" -eq 0 ]]; then
627
507
install_conda
628
508
create_conda_environment
629
509
install_dependencies
630
-
install_mounting
631
510
print_success_message
632
511
else
633
512
forargin"$@";do
@@ -644,9 +523,6 @@ else
644
523
install_dependencies)
645
524
install_dependencies
646
525
;;
647
-
install_mounting)
648
-
install_mounting
649
-
;;
650
526
doctor)
651
527
doctor
652
528
;;
@@ -658,8 +534,7 @@ else
658
534
;;
659
535
*)
660
536
# Print allowed arguments
661
-
echo"Allowed arguments: [download_transformer_lab, install_conda, create_conda_environment, install_dependencies, install_mounting] or leave blank to perform a full installation."
662
-
echo"To enable multitenant setup, set TFL_MULTITENANT=true in a local .env file."
537
+
echo"Allowed arguments: [download_transformer_lab, install_conda, create_conda_environment, install_dependencies] or leave blank to perform a full installation."
0 commit comments