README.md hinzugefügt

This commit is contained in:
2025-08-15 17:06:48 +02:00
parent 51550b9104
commit c01df64dcc
+30
View File
@@ -0,0 +1,30 @@
## Proxmox Update Script
```
nano /root/scripte/proxmox-update.py
chmod +x /root/scripte/proxmox-update.py
```
## Testlauf:
```
sudo /root/scripte/proxmox-update.py
```
Automatisiert mit Reboot-Option (per cron oder systemd-timer):
```
REBOOT=YES /root/scripte/proxmox-update.py
```
## Exit-Codes:
```
Code Bedeutung
0 Erfolg (keine oder erfolgreiche Updates)
1 Kernel-Update gefunden → Reboot empfohlen
2 Fehler (z.B. apt nicht erreichbar)
```
## Cronjob (z.B. täglich 5 Uhr):
```
0 4 * * * /root/scripte/proxmox-update.py
```
Ergibt z.B.:
```
rpool/ROOT/pve-1@pve-update-via-cron-2025-08-15_05-00-00
rpool/pveconf@pve-update-via-cron-2025-08-15_05-00-00
```