mirror of
https://github.com/TimInTech/proxmox-manager.git
synced 2026-11-30 14:50:10 +03:00
docs: restore full layout with badges, screenshot, and bilingual README (EN/DE)
This commit is contained in:
1 parent
0eafdbf493
commit
e076cdabb6
2 files changed
+309
-33
No files matched your search
+157
-19
@@ -1,15 +1,37 @@
|
||||
# Proxmox VM/CT Manager – Version 2.7.2 (aktualisiert 2025-09-07)
|
||||
# proxmox-manager
|
||||
|
||||
<p align="center"><em>Terminal-Tool zur Verwaltung von Proxmox-VMs und -Containern direkt auf dem Host</em></p>
|
||||
|
||||
Languages: 🇬🇧 [English](README.md) • 🇩🇪 Deutsch (diese Datei)
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/TimInTech/timintech-proxmox-manager/stargazers"><img alt="GitHub Stars" src="https://img.shields.io/github/stars/TimInTech/timintech-proxmox-manager?style=flat&color=yellow"></a>
|
||||
<a href="https://github.com/TimInTech/timintech-proxmox-manager/network/members"><img alt="GitHub Forks" src="https://img.shields.io/github/forks/TimInTech/timintech-proxmox-manager?style=flat&color=blue"></a>
|
||||
<a href="LICENSE"><img alt="License" src="https://img.shields.io/github/license/TimInTech/timintech-proxmox-manager?style=flat"></a>
|
||||
<a href="https://buymeacoffee.com/timintech"><img alt="Buy Me A Coffee" src="https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?logo=buymeacoffee&logoColor=000&labelColor=555555&style=flat"></a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
---
|
||||
*TUI-Übersicht mit VM/CT-Status, Aktionen und JSON-Export.*
|
||||
|
||||
## Zweck
|
||||
Schlankes TUI-Tool zum Auflisten, Steuern und Inspizieren von Proxmox VMs/CTs. JSON-Modus für Automatisierung.
|
||||
## Quick Links
|
||||
- Hauptskript: [`proxmox-manager.sh`](proxmox-manager.sh)
|
||||
- Optionale Helfer: [`install_dependencies.sh`](install_dependencies.sh)
|
||||
- Projektüberblick: [Quickstart](#quickstart) · [Usage](#usage) · [CLI Options](#cli-options) · [Troubleshooting](#troubleshooting)
|
||||
- Audit-Artefakte: [`.audit/`](.audit/)
|
||||
- Issues & Feedback: [Issue erstellen](../../issues)
|
||||
|
||||
## Installation (mit Git, updatefähig)
|
||||
---
|
||||
|
||||
## What it is
|
||||
Kompaktes TUI-Werkzeug zum Auflisten, Steuern und Inspizieren von Proxmox-VMs/CTs. JSON-Modus für Automatisierung.
|
||||
|
||||
---
|
||||
|
||||
## Installation (with Git, updateable)
|
||||
```bash
|
||||
sudo apt update && sudo apt install -y git
|
||||
cd /root
|
||||
@@ -21,53 +43,169 @@ chmod +x proxmox-manager.sh install_dependencies.sh
|
||||
./proxmox-manager.sh --json # maschinenlesbar
|
||||
```
|
||||
|
||||
<details><summary>SSH-Variante (falls GitHub-SSH-Keys vorhanden)</summary>
|
||||
## ✅ Requirements
|
||||
|
||||
* Proxmox VE 7.4, 8.x oder 9.x Host
|
||||
* Direkter Betrieb auf dem Proxmox-Knoten als `root`
|
||||
* `qm`- und/oder `pct`-CLI-Werkzeuge müssen verfügbar sein
|
||||
* Optionale Helfer: `remote-viewer` für SPICE, `jq` für Hilfsfunktionen, `shellcheck` zum Linting
|
||||
|
||||
<details><summary>SSH-Klon (mit GitHub-SSH-Keys)</summary>
|
||||
|
||||
```bash
|
||||
git clone --depth=1 git@github.com:TimInTech/proxmox-manager.git
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
Hinweis: Wenn Git nach Zugangsdaten fragt, war meist eine falsche/private URL im Spiel. Obige öffentliche URL nutzen.
|
||||
---
|
||||
|
||||
Update (Git-Variante)
|
||||
## Introduction
|
||||
|
||||
Dieses Repository enthält ein leichtgewichtiges Terminal-TUI, das VMs und LXC-Container auf einem Proxmox-Host auflistet und verwaltet. Es bietet statusabhängige Aktionen, Konsolen-Zugriff, Snapshot-Helfer sowie SPICE-Integration – ohne zusätzliche Dienste.
|
||||
|
||||
*Hinweis:* Wenn Git nach Benutzername/Passwort fragt, wurde meist eine falsche oder private URL genutzt. Die oben genannte öffentliche URL verwenden.
|
||||
|
||||
> Das Skript ist für die interaktive Nutzung direkt auf dem Proxmox-Host konzipiert.
|
||||
|
||||
---
|
||||
|
||||
### Update (Git variant)
|
||||
|
||||
```bash
|
||||
cd /root/proxmox-manager
|
||||
git pull
|
||||
```
|
||||
|
||||
Installation (ohne Git)
|
||||
## Technologies & Dependencies
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
## 📊 Status
|
||||
|
||||
Stabil für die tägliche Verwaltung von VMs und LXC direkt auf dem Host.
|
||||
|
||||
---
|
||||
|
||||
## Quickstart
|
||||
|
||||
### Installation
|
||||
|
||||
```bash
|
||||
apt update && apt install -y git
|
||||
```
|
||||
|
||||
### Installation (without Git)
|
||||
|
||||
```bash
|
||||
cd /root
|
||||
mkdir -p proxmox-manager && cd proxmox-manager
|
||||
curl -fsSL -o proxmox-manager.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/proxmox-manager.sh
|
||||
curl -fsSL -o install_dependencies.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/install_dependencies.sh
|
||||
chmod +x proxmox-manager.sh install_dependencies.sh
|
||||
./install_dependencies.sh # optional
|
||||
./proxmox-manager.sh
|
||||
./install_dependencies.sh # optional: remote-viewer, jq, shellcheck
|
||||
```
|
||||
|
||||
Update (ohne-Git)
|
||||
### Run
|
||||
|
||||
```bash
|
||||
./proxmox-manager.sh
|
||||
```
|
||||
|
||||
### Optional system-wide install
|
||||
|
||||
```bash
|
||||
cp proxmox-manager.sh /usr/local/sbin/proxmox-manager
|
||||
chmod +x /usr/local/sbin/proxmox-manager
|
||||
proxmox-manager
|
||||
```
|
||||
|
||||
### Update (no-Git variant)
|
||||
|
||||
```bash
|
||||
cd /root/proxmox-manager
|
||||
curl -fsSL -o proxmox-manager.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/proxmox-manager.sh
|
||||
curl -fsSL -o install_dependencies.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/install_dependencies.sh
|
||||
chmod +x proxmox-manager.sh install_dependencies.sh
|
||||
```
|
||||
|
||||
Abhängigkeiten
|
||||
## Dependencies
|
||||
|
||||
jq empfohlen für --json
|
||||
* `jq` empfohlen für `--json`
|
||||
* `remote-viewer` (Paket: `virt-viewer`) optional für VM-Konsolen
|
||||
* Üblicherweise als `root` auf Proxmox-Hosts ausführen
|
||||
|
||||
remote-viewer (Paket: virt-viewer) optional für VM-Konsole
|
||||
## Features
|
||||
|
||||
Ausführung meist als root auf PVE-Hosts
|
||||
* Einheitliche Übersicht von VMs und CTs mit Status-Symbolen: 🟢 running · 🔴 stopped · 🟠 paused · 🟡 unknown
|
||||
* Aktionen: Start, Stop, Restart und Status pro ID
|
||||
* Konsolen-Helfer: `pct enter`, `qm terminal` oder Fallback `qm monitor`
|
||||
* Snapshot-Helfer: auflisten, erstellen, Rollback, löschen
|
||||
* SPICE-Tools: Verbindungsdetails, `.vv`-Datei, optionale Aktivierung
|
||||
* Eingebaute Root-Prüfung, Locale-Normalisierung und robuste ID-Verarbeitung
|
||||
|
||||
Deinstallieren
|
||||
---
|
||||
|
||||
## CLI Options
|
||||
|
||||
* `--list` – gibt eine einfache Tabelle aller VMs/CTs aus
|
||||
* `--json` – liefert ein JSON-Array (`id`, `type`, `status`, `symbol`, `name`)
|
||||
* `--no-clear` – deaktiviert das Bildschirm-Löschen
|
||||
* `--once` – einmalige Ausführung und anschließend Beenden
|
||||
* `--help` – zeigt die Hilfe an und beendet
|
||||
|
||||
---
|
||||
|
||||
## Uninstall
|
||||
|
||||
Programmpfad entfernen:
|
||||
|
||||
```bash
|
||||
rm -rf /root/proxmox-manager
|
||||
```
|
||||
|
||||
Optionale Pakete wieder entfernen:
|
||||
|
||||
Optionale Abhängigkeiten rückgängig machen:
|
||||
|
||||
```bash
|
||||
sudo apt purge -y jq virt-viewer shellcheck
|
||||
sudo apt autoremove -y
|
||||
```
|
||||
|
||||
Lizenz
|
||||
---
|
||||
|
||||
MIT
|
||||
## SPICE Notes
|
||||
|
||||
* `remote-viewer` (virt-viewer) bietet die beste Erfahrung für `.vv`-Dateien.
|
||||
* Fehlt ein SPICE-Gerät, kann der Helfer eines hinzufügen; anschließend VM neu starten.
|
||||
|
||||
---
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
* **Keine Einträge:** als `root` ausführen und sicherstellen, dass `qm`/`pct` verfügbar sind
|
||||
* **Konsole nicht verfügbar:** `qm terminal` benötigt eine serielle Konsole; Fallback `qm monitor`
|
||||
* **SPICE-Port fehlt:** konfigurieren oder über den Helfer aktivieren
|
||||
* **JSON-Probleme:** Ausgabe ist eigenständig nutzbar, `jq` optional zum Auswerten
|
||||
|
||||
---
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull Requests und Issues sind willkommen. Vor dem Commit `shellcheck` lokal ausführen.
|
||||
|
||||
---
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
||||
|
||||
@@ -1,14 +1,36 @@
|
||||
# Proxmox VM/CT Manager – Version 2.7.2 (updated 2025-09-07)
|
||||
# proxmox-manager
|
||||
|
||||
<p align="center"><em>Terminal tool to manage Proxmox VMs and containers from the host shell</em></p>
|
||||
|
||||
Languages: 🇬🇧 English (this file) • 🇩🇪 [Deutsch](README.de.md)
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/TimInTech/timintech-proxmox-manager/stargazers"><img alt="GitHub Stars" src="https://img.shields.io/github/stars/TimInTech/timintech-proxmox-manager?style=flat&color=yellow"></a>
|
||||
<a href="https://github.com/TimInTech/timintech-proxmox-manager/network/members"><img alt="GitHub Forks" src="https://img.shields.io/github/forks/TimInTech/timintech-proxmox-manager?style=flat&color=blue"></a>
|
||||
<a href="LICENSE"><img alt="License" src="https://img.shields.io/github/license/TimInTech/timintech-proxmox-manager?style=flat"></a>
|
||||
<a href="https://buymeacoffee.com/timintech"><img alt="Buy Me A Coffee" src="https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?logo=buymeacoffee&logoColor=000&labelColor=555555&style=flat"></a>
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
---
|
||||
*TUI overview with VM/CT status, actions, and JSON export.*
|
||||
|
||||
## Quick Links
|
||||
- Main script: [`proxmox-manager.sh`](proxmox-manager.sh)
|
||||
- Optional helper: [`install_dependencies.sh`](install_dependencies.sh)
|
||||
- Project overview: [Quickstart](#quickstart) · [Usage](#usage) · [CLI Options](#cli-options) · [Troubleshooting](#troubleshooting)
|
||||
- Audit artefacts: [`.audit/`](.audit/)
|
||||
- Issues & feedback: [Create issue](../../issues)
|
||||
|
||||
---
|
||||
|
||||
## What it is
|
||||
Minimal TUI helper to list, control and inspect Proxmox VMs/CTs. JSON mode for automation.
|
||||
|
||||
---
|
||||
|
||||
## Installation (with Git, updateable)
|
||||
```bash
|
||||
sudo apt update && sudo apt install -y git
|
||||
@@ -21,53 +43,169 @@ chmod +x proxmox-manager.sh install_dependencies.sh
|
||||
./proxmox-manager.sh --json # machine-readable
|
||||
```
|
||||
|
||||
## ✅ Requirements
|
||||
|
||||
* Proxmox VE 7.4, 8.x, or 9.x host
|
||||
* Run directly on the Proxmox node as `root`
|
||||
* `qm` and/or `pct` CLI tools available on the host
|
||||
* Optional helpers: `remote-viewer` for SPICE, `jq` for utilities, `shellcheck` for linting
|
||||
|
||||
<details><summary>SSH clone (if you use GitHub SSH keys)</summary>
|
||||
|
||||
```bash
|
||||
git clone --depth=1 git@github.com:TimInTech/proxmox-manager.git
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
Note: If Git asks for username/password you probably used a wrong or private URL. Use the public one above.
|
||||
---
|
||||
|
||||
Update (Git variant)
|
||||
## Introduction
|
||||
|
||||
This repository contains a lightweight terminal UI script that lists and manages both VMs and LXC containers on a Proxmox host. It provides status-aware actions, console access, snapshot helpers, and SPICE integration without depending on external services.
|
||||
|
||||
*Note:* If Git asks for username/password you probably used a wrong or private URL. Use the public one above.
|
||||
|
||||
> The script targets interactive use on the Proxmox host itself.
|
||||
|
||||
---
|
||||
|
||||
### Update (Git variant)
|
||||
|
||||
```bash
|
||||
cd /root/proxmox-manager
|
||||
git pull
|
||||
```
|
||||
|
||||
Installation (without Git)
|
||||
## Technologies & Dependencies
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
## 📊 Status
|
||||
|
||||
Stable for day-to-day VM and LXC management on the host shell.
|
||||
|
||||
---
|
||||
|
||||
## Quickstart
|
||||
|
||||
### Installation
|
||||
|
||||
```bash
|
||||
apt update && apt install -y git
|
||||
```
|
||||
|
||||
### Installation (without Git)
|
||||
|
||||
```bash
|
||||
cd /root
|
||||
mkdir -p proxmox-manager && cd proxmox-manager
|
||||
curl -fsSL -o proxmox-manager.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/proxmox-manager.sh
|
||||
curl -fsSL -o install_dependencies.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/install_dependencies.sh
|
||||
chmod +x proxmox-manager.sh install_dependencies.sh
|
||||
./install_dependencies.sh # optional
|
||||
./proxmox-manager.sh
|
||||
./install_dependencies.sh # optional: remote-viewer, jq, shellcheck
|
||||
```
|
||||
|
||||
Update (no-Git variant)
|
||||
### Run
|
||||
|
||||
```bash
|
||||
./proxmox-manager.sh
|
||||
```
|
||||
|
||||
### Optional system-wide install
|
||||
|
||||
```bash
|
||||
cp proxmox-manager.sh /usr/local/sbin/proxmox-manager
|
||||
chmod +x /usr/local/sbin/proxmox-manager
|
||||
proxmox-manager
|
||||
```
|
||||
|
||||
### Update (no-Git variant)
|
||||
|
||||
```bash
|
||||
cd /root/proxmox-manager
|
||||
curl -fsSL -o proxmox-manager.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/proxmox-manager.sh
|
||||
curl -fsSL -o install_dependencies.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/install_dependencies.sh
|
||||
chmod +x proxmox-manager.sh install_dependencies.sh
|
||||
```
|
||||
|
||||
Dependencies
|
||||
## Dependencies
|
||||
|
||||
jq recommended for --json
|
||||
* `jq` recommended for `--json`
|
||||
* `remote-viewer` (package: `virt-viewer`) optional for VM consoles
|
||||
* Usually run as `root` on Proxmox hosts
|
||||
|
||||
remote-viewer (package: virt-viewer) optional to open VM consoles
|
||||
## Features
|
||||
|
||||
Usually run as root on Proxmox hosts
|
||||
* Unified VM and CT overview with status symbols: 🟢 running · 🔴 stopped · 🟠 paused · 🟡 unknown
|
||||
* Actions: start, stop, restart, and status for each ID
|
||||
* Console helpers: `pct enter`, `qm terminal`, or fallback `qm monitor`
|
||||
* Snapshot helpers: list, create, rollback, delete snapshots
|
||||
* SPICE tools: connection details, `.vv` file generation, optional SPICE enablement
|
||||
* Built-in root check, locale normalization, and resilient ID parsing
|
||||
|
||||
Uninstall
|
||||
---
|
||||
|
||||
## CLI Options
|
||||
|
||||
* `--list` – print plain table of all VMs/CTs
|
||||
* `--json` – output JSON array (`id`, `type`, `status`, `symbol`, `name`)
|
||||
* `--no-clear` – disable terminal clearing
|
||||
* `--once` – run only once and exit
|
||||
* `--help` – show usage and exit
|
||||
|
||||
---
|
||||
|
||||
## Uninstall
|
||||
|
||||
Remove program directory:
|
||||
|
||||
```bash
|
||||
rm -rf /root/proxmox-manager
|
||||
|
||||
```
|
||||
|
||||
Optionally remove optional dependencies again:
|
||||
|
||||
```bash
|
||||
sudo apt purge -y jq virt-viewer shellcheck
|
||||
sudo apt autoremove -y
|
||||
```
|
||||
|
||||
License
|
||||
---
|
||||
|
||||
MIT
|
||||
## SPICE Notes
|
||||
|
||||
* `remote-viewer` (virt-viewer) offers the best experience for `.vv` files.
|
||||
* If a VM lacks a SPICE device, the helper can add one; restart the VM afterwards.
|
||||
|
||||
---
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
* **No entries:** run as `root` with `qm`/`pct` available
|
||||
* **Console unavailable:** `qm terminal` requires serial console; fallback `qm monitor`
|
||||
* **Missing SPICE port:** configure or enable via helper
|
||||
* **JSON issues:** output works standalone, `jq` optional to consume it
|
||||
|
||||
---
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull requests and issues welcome. Run `shellcheck` locally before committing.
|
||||
|
||||
---
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
||||
|
||||
Reference in new issue
Block a user