Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.
TypeScript
chore: add additional warnings to migrate-disk-collector
Jake Turner8bb8b414f8c7
diff --git a/install/migrate-disk-collector.sh b/install/migrate-disk-collector.shindex dc041382..a4c5c6f6 100755--- a/install/migrate-disk-collector.sh+++ b/install/migrate-disk-collector.sh@@ -67,7 +67,9 @@ check_confirmation() {echo -e "${YELLOW}#${RESET} host-based disk info collector to the new disk-collector sidecar."echo -e "${YELLOW}#${RESET} It will modify compose.yml and restart the full compose stack"echo -e "${YELLOW}#${RESET} to drop the old /tmp bind mount and start the disk-collector sidecar."- echo -e "${YELLOW}#${RESET} Please ensure you have a backup of your data before proceeding."+ echo -e "${YELLOW}#${RESET} Please ensure you have a backup of your data before proceeding.\n"++ echo -e "${RED}#${RESET} STOP: If you have customized your compose.yml or Nomad's storage setup (not common), please make these changes manually instead of using this script!\n"read -rp "Do you want to continue? (y/N) " responseif [[ ! "$response" =~ ^[Yy]$ ]]; thenecho -e "${RED}#${RESET} Aborting. No changes have been made."