Update proxmenu-scripts.sh
This commit is contained in:
@@ -140,7 +140,8 @@ DETECT_CPU(){
|
|||||||
proxclmc
|
proxclmc
|
||||||
echo
|
echo
|
||||||
|
|
||||||
read -n 1 -p "Would you like to set this for all VMs (y/N)?" choice
|
echo -e " ${idsCL[LightCyan]}Would you like to set '${idsCL[Green]}$(proxclmc --list-only)${idsCL[LightCyan]}' on all VMs (y/N)?${idsCL[Default]}"
|
||||||
|
read -n 1 choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[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
|
||||||
|
|||||||
Reference in New Issue
Block a user