diskimage-builder/diskimage_builder/elements/hpdsa/pre-install.d/06-hpdsa
RotanChen a9386ba147 replace the link which is in the 06-hpdsa file
The old link does't work,this one does.

Change-Id: I128b5841b2bd4897e2b2c0e82ad31049ce7b0c29
2021-03-12 19:16:50 +08:00

15 lines
358 B
Bash
Executable File

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