added PVE-Shafred-Storage as default for DLDIR
This commit is contained in:
+5
-5
@@ -176,12 +176,12 @@ INSTALL_OMSA() {
|
||||
DOWNLOAD_VIRTIO() {
|
||||
|
||||
echo -e "\n${idsCL[LightCyan]}Current \"Stable\" version available for download: ${idsCL[White]}${VIRTIO_FILE}${idsCL[Default]}"
|
||||
if [ -f /var/lib/vz/template/iso/${VIRTIO_FILE} ]; then
|
||||
if [ -f ${dldir}/${VIRTIO_FILE} ]; then
|
||||
echo -en "\n${idsCL[LightRed]}Removing existing download ... "
|
||||
rm -f /var/lib/vz/template/iso/${VIRTIO_FILE}
|
||||
rm -f ${DLDIR}/${VIRTIO_FILE}
|
||||
echo -e "${idsCL[Red]}Done${idsCL[Default]}"
|
||||
fi
|
||||
wget -q -F -P /var/lib/vz/template/iso ${VIRTIO_DOWNLOAD_URL} &
|
||||
wget -q -F -P ${DLDIR} ${VIRTIO_DOWNLOAD_URL} &
|
||||
echo -e "\n${idsCL[LightCyan]}Downloading will continue in the background\n"
|
||||
[ ${action-x} ] && exit 0 || ENTER2CONTINUE
|
||||
}
|
||||
@@ -302,9 +302,9 @@ MAIN_MENU() {
|
||||
else
|
||||
echo -e "${idsCL[DarkGray]} [2] Pulse Monitoring is already installed${idsCL[Default]}"
|
||||
fi
|
||||
if [ -f /var/lib/vz/template/iso/${VIRTIO_FILE} ]; then
|
||||
if [ -f ${DLDIR}/${VIRTIO_FILE} ]; then
|
||||
echo -e "${idsCL[DarkGray]} [3] Current VirtIO drivers already downloaded to 'local' on this host${idsCL[Default]}"
|
||||
elif [ -f /var/lib/vz/template/iso/virtio*.iso ]; then
|
||||
elif [ -f ${DLDIR}/virtio*.iso ]; then
|
||||
echo -e "${idsCL[White]} [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[LightGreen]}**${idsCL[White]}Download the available updated Win-VirtIO drivers to 'local' on this host${idsCL[Default]}"
|
||||
else
|
||||
echo -e "${idsCL[White]} [${idsCL[LightYellow]}3${idsCL[Default]}] ${idsCL[White]}Download the current Win-VirtIO drivers to 'local' on this host${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user