Update proxmenu-scripts.sh
This commit is contained in:
@@ -207,13 +207,14 @@ DETECT_CPU(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
RESTART_PVE_SERVICES(){
|
RESTART_PVE_SERVICES(){
|
||||||
echo -en "${idsCL[LightCyan]}Would you like to set '${idsCL[LightGreen]}cpu: $(proxclmc --list-only)${idsCL[LightCyan]}' on all VMs (y/N)?${idsCL[Default]} "
|
echo -en "${idsCL[LightCyan]}Would you like to restart all Proxmox services on the local host (Y/n)?${idsCL[Default]} "
|
||||||
read -n 1 choice
|
read -n 1 choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Yy]) echo
|
[Nn]) echo;;
|
||||||
|
*) echo
|
||||||
systemctl restart pve-cluster pvedaemon pvestatd pveproxy
|
systemctl restart pve-cluster pvedaemon pvestatd pveproxy
|
||||||
echo;;
|
echo;;
|
||||||
*) echo;;
|
esac
|
||||||
|
|
||||||
echo -e "\n${idsCL[Green]}This hosts services have been restarted${idsCL[Default]}"
|
echo -e "\n${idsCL[Green]}This hosts services have been restarted${idsCL[Default]}"
|
||||||
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
||||||
|
|||||||
Reference in New Issue
Block a user