Update proxmenu-scripts.sh
This commit is contained in:
@@ -132,46 +132,45 @@ INSTALL_OMSA() {
|
|||||||
[Nn]) MAIN_MENU;;
|
[Nn]) MAIN_MENU;;
|
||||||
* )
|
* )
|
||||||
echo
|
echo
|
||||||
|
mkdir /tmp/omsa
|
||||||
|
cd /tmp/omsa
|
||||||
|
apt install gnupg libcurl4t64 libncurses6 libxslt1.1 libgpm2 libtinfo6
|
||||||
|
mkdir -p /etc/apt/keyrings
|
||||||
|
wget -qO - https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc | gpg --dearmor -o /etc/apt/keyrings/linux.dell.com.gpg
|
||||||
|
chmod +r /etc/apt/keyrings/linux.dell.com.gpg
|
||||||
|
echo "deb [signed-by=/etc/apt/keyrings/linux.dell.com.gpg] http://linux.dell.com/repo/community/openmanage/11000/jammy jammy main" > /etc/apt/sources.list.d/linux.dell.com.list
|
||||||
|
apt update
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-curl-client-transport1_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-client4t64_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman1t64_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
wget -c http://http.us.debian.org/debian/pool/main/libx/libxml2/libxml2-16_2.15.1+dfsg-2+b1_amd64.deb
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-server1t64_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfcc/libcimcclient0_2.2.8-0ubuntu2_amd64.deb
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/openwsman_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/multiverse/c/cim-schema/cim-schema_2.48.0-0ubuntu1_all.deb
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfc-common/libsfcutil0_1.0.1-0ubuntu4_amd64.deb
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sblim-sfcb/sfcb_1.4.9-0ubuntu7_amd64.deb
|
||||||
|
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-cmpi-devel/libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb
|
||||||
|
wget -c http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb
|
||||||
|
dpkg -i libwsman-curl-client-transport1_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
dpkg -i libwsman-client4t64_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
dpkg -i libxml2-16_2.15.1+dfsg-2+b1_amd64.deb
|
||||||
|
dpkg -i libwsman1t64_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
dpkg -i libwsman-server1t64_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
dpkg -i libcimcclient0_2.2.8-0ubuntu2_amd64.deb
|
||||||
|
dpkg -i openwsman_2.6.5-0ubuntu16_amd64.deb
|
||||||
|
dpkg -i cim-schema_2.48.0-0ubuntu1_all.deb
|
||||||
|
dpkg -i libsfcutil0_1.0.1-0ubuntu4_amd64.deb
|
||||||
|
dpkg -i sfcb_1.4.9-0ubuntu7_amd64.deb
|
||||||
|
dpkg -i libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb
|
||||||
|
dpkg -i libssl1.1_1.1.1w-0+deb11u1_amd64.deb
|
||||||
|
apt install srvadmin-all
|
||||||
|
/opt/dell/srvadmin/sbin/srvadmin-services.sh start
|
||||||
|
rm -Rf /tmp/omsa
|
||||||
|
|
||||||
mkdir /tmp/omsa
|
echo -e "\n${idsCL[Green]}Dell OMSA has been installed${idsCL[Default]}"
|
||||||
cd /tmp/omsa
|
echo -e "\n${idsCL[LightCyan]}Available at: ${idsCL[LightGreen]}https://${RNIP}:1311${idsCL[Default]}"
|
||||||
apt install gnupg libcurl4t64 libncurses6 libxslt1.1 libgpm2 libtinfo6
|
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
||||||
mkdir -p /etc/apt/keyrings
|
|
||||||
wget -qO - https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc | gpg --dearmor -o /etc/apt/keyrings/linux.dell.com.gpg
|
|
||||||
chmod +r /etc/apt/keyrings/linux.dell.com.gpg
|
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/linux.dell.com.gpg] http://linux.dell.com/repo/community/openmanage/11000/jammy jammy main" > /etc/apt/sources.list.d/linux.dell.com.list
|
|
||||||
apt update
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-curl-client-transport1_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-client4t64_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman1t64_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
wget -c http://http.us.debian.org/debian/pool/main/libx/libxml2/libxml2-16_2.15.1+dfsg-2+b1_amd64.deb
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-server1t64_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfcc/libcimcclient0_2.2.8-0ubuntu2_amd64.deb
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/openwsman_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/multiverse/c/cim-schema/cim-schema_2.48.0-0ubuntu1_all.deb
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfc-common/libsfcutil0_1.0.1-0ubuntu4_amd64.deb
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sblim-sfcb/sfcb_1.4.9-0ubuntu7_amd64.deb
|
|
||||||
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-cmpi-devel/libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb
|
|
||||||
wget -c http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb
|
|
||||||
dpkg -i libwsman-curl-client-transport1_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
dpkg -i libwsman-client4t64_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
dpkg -i libxml2-16_2.15.1+dfsg-2+b1_amd64.deb
|
|
||||||
dpkg -i libwsman1t64_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
dpkg -i libwsman-server1t64_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
dpkg -i libcimcclient0_2.2.8-0ubuntu2_amd64.deb
|
|
||||||
dpkg -i openwsman_2.6.5-0ubuntu16_amd64.deb
|
|
||||||
dpkg -i cim-schema_2.48.0-0ubuntu1_all.deb
|
|
||||||
dpkg -i libsfcutil0_1.0.1-0ubuntu4_amd64.deb
|
|
||||||
dpkg -i sfcb_1.4.9-0ubuntu7_amd64.deb
|
|
||||||
dpkg -i libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb
|
|
||||||
dpkg -i libssl1.1_1.1.1w-0+deb11u1_amd64.deb
|
|
||||||
apt install srvadmin-all
|
|
||||||
/opt/dell/srvadmin/sbin/srvadmin-services.sh start
|
|
||||||
rm -Rf /tmp/omsa
|
|
||||||
|
|
||||||
echo -e "\n${idsCL[Green]}Dell OMSA has been installed${idsCL[Default]}"
|
|
||||||
echo -e "\n${idsCL[LightCyan]}Available at: ${idsCL[LightGreen]}https://${RNIP}:1311${idsCL[Default]}"
|
|
||||||
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -199,11 +198,11 @@ DETECT_CPU(){
|
|||||||
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]}"
|
||||||
|
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
||||||
;;
|
;;
|
||||||
*) echo;;
|
*) echo;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RESTART_PVE_SERVICES(){
|
RESTART_PVE_SERVICES(){
|
||||||
|
|||||||
Reference in New Issue
Block a user