Skip to content

Commit

Permalink
Merge pull request #9 from Xtigyro/feature/add-debian-support
Browse files Browse the repository at this point in the history
Add Debian OS Support
  • Loading branch information
Xtigyro authored Jun 12, 2020
2 parents 8ddf33e + f584350 commit eba98fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions local-cluster/prerequisites-cmds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ OS_ID=$(awk -F= '/^ID=/{print $2}' /etc/os-release)

if [ "$OS_ID" == "\"centos\"" ] || [ "$OS_ID" == "\"rhel\"" ] ; then
yum install -y docker-ce curl
elif [ "$OS_ID" == "ubuntu" ] ; then
elif [ "$OS_ID" == "ubuntu" ] || [ "$OS_ID" == "debian" ] ; then
apt update && apt install -y docker.io curl
else
echo "Use "${0}" only on RHEL / CentOS / Ubuntu "
echo "Use "${0}" only on RHEL / CentOS / Ubuntu / Debian"
exit 3
fi

Expand Down

0 comments on commit eba98fe

Please sign in to comment.