4509e6f826
This element enables creation of Ubuntu deploy ramdisk and user images which could be used to deploy the HP Proliant Servers with Dynamic Smart Array Controllers. Without this driver the disk with the Dynamic Smart Array Controller is not visible to the ramdisk. Closes bug: #1492803 Change-Id: Ibb3b298cd379cd7333279484df6ae30e9d7f6aaa
15 lines
468 B
Bash
Executable File
15 lines
468 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
# Blacklist the ahci driver for hpdsa to recognize the disks.
|
|
# It can also be done with element "modprobe-blacklist" which
|
|
# would add the ahci driver to /etc/modprobe.d/blacklist.conf.
|
|
# To be on safer side, blacklist the driver ahci without the
|
|
# element "modprobe-blacklist" also.
|
|
echo "blacklist ahci" >> /etc/modprobe.d/install-hpdsa.conf
|
|
echo "hpdsa" >> /etc/modules
|