first working release
This commit is contained in:
18
README.md
18
README.md
@@ -14,6 +14,7 @@ The script collects information such as:
|
||||
- VM descriptions/notes
|
||||
|
||||
---
|
||||
|
||||
# Requirements
|
||||
## System Requirements
|
||||
The machine running this script must:
|
||||
@@ -38,22 +39,29 @@ sudo dnf install -y qemu-guest-agent
|
||||
sudo systemctl enable --now qemu-guest-agent
|
||||
```
|
||||
Then enable the QEMU Guest Agent in Proxmox:
|
||||
```
|
||||
```bash
|
||||
qm set <VMID> --agent enabled=1
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Installation
|
||||
Clone the repository and configure the environment file:
|
||||
```
|
||||
cd /optgit clone https://gitea.mooij.me/meteo/proxmox-to-sentri.gitcd proxmox-to-sentricp .env-sample .envchmod 600 .envchmod 740 proxmox-to-sentri.sh
|
||||
```bash
|
||||
cd /opt
|
||||
git clone https://gitea.mooij.me/meteo/proxmox-to-sentri.git
|
||||
cd proxmox-to-sentri
|
||||
cp .env-sample .env
|
||||
chmod 600 .env
|
||||
chmod 740 proxmox-to-sentri.sh
|
||||
```
|
||||
Optional: Create a global command:
|
||||
```
|
||||
```bash
|
||||
ln -sf /opt/proxmox-to-sentri/proxmox-to-sentri.sh /usr/bin/proxmox-to-sentri
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Configuration
|
||||
Edit the `.env` file and configure the Proxmox connection settings:
|
||||
```
|
||||
@@ -63,6 +71,7 @@ PM_PASS="your-password"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Running the Script
|
||||
|
||||
Run the script directly:
|
||||
@@ -75,6 +84,7 @@ proxmox-to-sentri
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Output
|
||||
|
||||
Generated JSON files are written to:
|
||||
|
||||
Reference in New Issue
Block a user