2015-09-07 06:38:16 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
|
|
|
set -x
|
|
|
|
fi
|
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
# Add hpdsa repository
|
2020-05-22 08:57:05 +00:00
|
|
|
echo 'deb https://downloads.linux.hpe.com/SDR/repo/ubuntu-hpdsa' $DIB_RELEASE ' main' \
|
2015-09-07 06:38:16 +00:00
|
|
|
>> /etc/apt/sources.list.d/ubuntu-hpdsa.list
|
|
|
|
|
|
|
|
# Add the key
|
2020-05-22 08:57:05 +00:00
|
|
|
curl -f -s https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add -
|