Add MIT license and .gitignore; use public Gitea URLs
Lint / Shell (shellcheck) (push) Successful in 9s
Lint / Shell (shellcheck) (push) Successful in 9s
This commit is contained in:
+10
-10
@@ -113,7 +113,7 @@ check_requirements() {
|
||||
done
|
||||
|
||||
if [[ ${#missing[@]} -gt 0 ]]; then
|
||||
handle_error "Missing tools: ${missing[*]}\n Please install with 'curl -s http://10.10.10.63:3000/LotusGuild/freshStartScript/raw/branch/main/freshStart.sh | bash'"
|
||||
handle_error "Missing tools: ${missing[*]}\n Please install with 'curl -s https://code.lotusguild.org/LotusGuild/freshStartScript/raw/branch/main/freshStart.sh | bash'"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -515,7 +515,7 @@ get_system_status() {
|
||||
get_drive_atlas() {
|
||||
echo -e "\n${GREEN}=== Drive Atlas - Physical Bay Mapping ===${NC}"
|
||||
if command -v curl >/dev/null 2>&1; then
|
||||
if ! bash <(curl -sL "http://10.10.10.63:3000/LotusGuild/driveAtlas/raw/branch/main/driveAtlas.sh") 2>/dev/null; then
|
||||
if ! bash <(curl -sL "https://code.lotusguild.org/LotusGuild/driveAtlas/raw/branch/main/driveAtlas.sh") 2>/dev/null; then
|
||||
log_message warn "DriveAtlas failed to execute or server unavailable"
|
||||
fi
|
||||
else
|
||||
@@ -719,7 +719,7 @@ list_containers() {
|
||||
help() {
|
||||
echo "ProxDoc - The Proxmox System Doctor v${VERSION}"
|
||||
echo ""
|
||||
echo "Usage: curl -sL \"http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- [OPTION]"
|
||||
echo "Usage: curl -sL \"https://code.lotusguild.org/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- [OPTION]"
|
||||
echo ""
|
||||
echo "A comprehensive diagnostic tool for Proxmox server health checks."
|
||||
echo ""
|
||||
@@ -743,23 +743,23 @@ help() {
|
||||
echo ""
|
||||
echo "Examples:"
|
||||
echo " Run full diagnostics:"
|
||||
echo " curl -sL \"http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --diags"
|
||||
echo " curl -sL \"https://code.lotusguild.org/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --diags"
|
||||
echo ""
|
||||
echo " Quick health check:"
|
||||
echo " curl -sL \"http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --quick"
|
||||
echo " curl -sL \"https://code.lotusguild.org/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --quick"
|
||||
echo ""
|
||||
echo " Check only services and VMs:"
|
||||
echo " curl -sL \"http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --services"
|
||||
echo " curl -sL \"http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --vm-list"
|
||||
echo " curl -sL \"https://code.lotusguild.org/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --services"
|
||||
echo " curl -sL \"https://code.lotusguild.org/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --vm-list"
|
||||
echo ""
|
||||
echo " View drive bay mapping:"
|
||||
echo " curl -sL \"http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --drives"
|
||||
echo " curl -sL \"https://code.lotusguild.org/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --drives"
|
||||
echo ""
|
||||
echo " Check Ceph cluster health:"
|
||||
echo " curl -sL \"http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --ceph"
|
||||
echo " curl -sL \"https://code.lotusguild.org/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --ceph"
|
||||
echo ""
|
||||
echo " Run only CPU and RAM checks:"
|
||||
echo " curl -sL \"http://10.10.10.63:3000/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --checks=cpu,ram"
|
||||
echo " curl -sL \"https://code.lotusguild.org/LotusGuild/proxDoc/raw/branch/main/proxDoc.sh\" | bash -s -- --checks=cpu,ram"
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user