Skip to content

Instantly share code, notes, and snippets.

@dubcl
Created February 22, 2021 01:31
Show Gist options
  • Save dubcl/9feb361440365c2a0c3cd6c5f4eeb078 to your computer and use it in GitHub Desktop.
Save dubcl/9feb361440365c2a0c3cd6c5f4eeb078 to your computer and use it in GitHub Desktop.
Add HPE Debian repo
#!/bin/bash

DISTRO="buster"

# download the GPG key of the repository:
wget -q0 - http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp | apt-key add -

# create apt sources file for HP/Proliant repo
echo -e "deb http://downloads.linux.hpe.com/SDR/repo/mcp/ $DISTRO/current non-free" > /etc/apt/sources.list.d/proliant.sources.list

# update apt & install hpacucli package
apt-get update && apt-get install ssacli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment