TT#38454 Remove 'firmware-qlogic' installation case from deployment.sh

Originally the code has been added back in 2014 with commit message:
> Support blade disks we have on our internal proxmox cluster

So far at the moment the package 'firmware-qlogic' is not installed on
internal Proxmox blades (as I can see). I would consider it as
unnecessary any more and remove it here. Also it is a bit dangerous to
install some packages on internal test servers only, as production might
behave the different way then. So good to remove it here.

Change-Id: I9817ca0904eade6c51479c72f4cff428a044896f
changes/46/21946/1
Alexander Lutay 7 years ago
parent 9dfc640003
commit 6f8542dafc

@ -981,13 +981,6 @@ check_for_supported_disk() {
return 0
fi
# proxmox on blade, internal system
if grep -q 'COMSTAR' "/sys/block/${DISK}/device/model" && \
grep -q "OI" "/sys/block/${DISK}/device/vendor" ; then
FIRMWARE_PACKAGES="$FIRMWARE_PACKAGES firmware-qlogic"
return 0
fi
local disk_model
disk_model=$(cat "/sys/block/${DISK}/device/model") || true
local disk_vendor
@ -1264,13 +1257,6 @@ linux-headers-amd64
lvm2
EOF
if [ -n "$FIRMWARE_PACKAGES" ] ; then
cat >> /etc/debootstrap/packages << EOF
# firmware packages for hardware specific needs
$FIRMWARE_PACKAGES
EOF
fi
# NOTE: we use the debian.sipwise.com CNAME by intention here
# to avoid conflicts with apt-pinning, preferring deb.sipwise.com
# over official Debian

Loading…
Cancel
Save