V13
This commit is contained in:
1 parent
86d5933d33
commit
55f05fe0b9
1 file changed
+13
+13
@@ -792,6 +792,19 @@ update_vm() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Windows-VMs bereits anhand der Proxmox-Konfiguration erkennen.
|
||||||
|
# Sie dürfen insbesondere nicht nur für den Linux-Updater gestartet werden.
|
||||||
|
local ostype
|
||||||
|
ostype="$(qm config "$id" 2>/dev/null | sed -nE 's/^ostype:[[:space:]]*//p' | head -n1)"
|
||||||
|
|
||||||
|
case "$ostype" in
|
||||||
|
win10|win11|win7|win8|wvista|wxp|w2k|w2k3|w2k8)
|
||||||
|
log "VM $id ($name): Windows-VM -> übersprungen."
|
||||||
|
VM_SKIPPED=$((VM_SKIPPED + 1))
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [[ "$status" != "running" ]]; then
|
if [[ "$status" != "running" ]]; then
|
||||||
if [[ "$UPDATE_STOPPED" != "yes" ]]; then
|
if [[ "$UPDATE_STOPPED" != "yes" ]]; then
|
||||||
log "VM $id ($name): gestoppt -> übersprungen."
|
log "VM $id ($name): gestoppt -> übersprungen."
|
||||||
|
|||||||
Reference in new issue
Block a user