diff --git a/Proxmox/Restart-Proxmox.ps1 b/Proxmox/Restart-Proxmox.ps1 new file mode 100644 index 0000000..83bfffa --- /dev/null +++ b/Proxmox/Restart-Proxmox.ps1 @@ -0,0 +1,9 @@ + +sudo killall -9 corosync +sudo systemctl restart pve-cluster +sudo systemctl restart pvedaemon +sudo systemctl restart pveproxy +sudo systemctl restart pvestatd + +sudo qm stop 100 +sudo qm start 100 diff --git a/Proxmox/_.package.json b/Proxmox/_.package.json new file mode 100644 index 0000000..b9138ac --- /dev/null +++ b/Proxmox/_.package.json @@ -0,0 +1,17 @@ +{ + "package": { + "Name": "Proxmox", + "Condition": [ + { + "custom": null, + "System": [ "Linux" ], + "Hostname": null, + "Username": null, + "CmdletExists": null, + "ModuleExists": null, + "AppExeExists": "/usr/sbin/qm", + "Logic": 0 + } + ] + } +}