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:
+11
@@ -0,0 +1,11 @@
|
|||||||
|
# Local environment / secrets
|
||||||
|
.env
|
||||||
|
*.log
|
||||||
|
*.bak
|
||||||
|
*.swp
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# AI assistant notes (kept locally, not published)
|
||||||
|
Claude.md
|
||||||
|
CLAUDE.md
|
||||||
|
.claude/
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2025-2026 Jared Vititoe
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
+10
-10
@@ -113,7 +113,7 @@ check_requirements() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [[ ${#missing[@]} -gt 0 ]]; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -515,7 +515,7 @@ get_system_status() {
|
|||||||
get_drive_atlas() {
|
get_drive_atlas() {
|
||||||
echo -e "\n${GREEN}=== Drive Atlas - Physical Bay Mapping ===${NC}"
|
echo -e "\n${GREEN}=== Drive Atlas - Physical Bay Mapping ===${NC}"
|
||||||
if command -v curl >/dev/null 2>&1; then
|
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"
|
log_message warn "DriveAtlas failed to execute or server unavailable"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@@ -719,7 +719,7 @@ list_containers() {
|
|||||||
help() {
|
help() {
|
||||||
echo "ProxDoc - The Proxmox System Doctor v${VERSION}"
|
echo "ProxDoc - The Proxmox System Doctor v${VERSION}"
|
||||||
echo ""
|
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 ""
|
||||||
echo "A comprehensive diagnostic tool for Proxmox server health checks."
|
echo "A comprehensive diagnostic tool for Proxmox server health checks."
|
||||||
echo ""
|
echo ""
|
||||||
@@ -743,23 +743,23 @@ help() {
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Examples:"
|
echo "Examples:"
|
||||||
echo " Run full diagnostics:"
|
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 ""
|
||||||
echo " Quick health check:"
|
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 ""
|
||||||
echo " Check only services and VMs:"
|
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 \"https://code.lotusguild.org/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 -- --vm-list"
|
||||||
echo ""
|
echo ""
|
||||||
echo " View drive bay mapping:"
|
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 ""
|
||||||
echo " Check Ceph cluster health:"
|
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 ""
|
||||||
echo " Run only CPU and RAM checks:"
|
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
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user