Update proxmenu-scripts.sh
This commit is contained in:
@@ -141,12 +141,12 @@ DETECT_CPU(){
|
|||||||
|
|
||||||
read -n 1 -p "Would you like to set this for all VMs (y/N)?" choice
|
read -n 1 -p "Would you like to set this for all VMs (y/N)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
*) echo;;
|
[Yy])
|
||||||
[Yy])
|
sed -i "/cpu:/c cpu: $(proxclmc --list-only)" /etc/pve/nodes/*/qemu-server/*.conf
|
||||||
sed -i "/cpu:/c cpu: $(proxclmc --list-only)" /etc/pve/nodes/*/qemu-server/*.conf
|
echo
|
||||||
echo
|
echo -e "\n${idsCL[Green]}All VM's have been reconfigured\n${idsCL[LightCyan]}This will require the VM's to be powered off and then turned back on in order to take effect${idsCL[Default]}"
|
||||||
echo -e "\n${idsCL[Green]}All VM's have been reconfigured\n${idsCL[LightCyan]}This will require the VM's to be powered off and then turned back on in order to take effect${idsCL[Default]}"
|
|
||||||
;;
|
;;
|
||||||
|
*) echo;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[ ${action-x} ] && exit 0
|
[ ${action-x} ] && exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user