Code Review
/
icn.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add in configmap for KUD variables to bpa-operator
[icn.git]
/
deploy
/
metal3-vm
/
01_install_requirements.sh
1
#!/usr/bin/env bash
2
set -eu -o pipefail
3
4
OS=$(awk -F= '/^ID=/ { print $2 }' /etc/os-release | tr -d '"')
5
if [[ $OS == ubuntu ]]; then
6
# shellcheck disable=SC1091
7
source ubuntu_install_requirements.sh
8
else
9
# shellcheck disable=SC1091
10
source centos_install_requirements.sh
11
fi