Skip to content

Commit

Permalink
mk: Use docker driver on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
bbusse committed Jan 11, 2024
1 parent 7affe70 commit 628718b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup-cluster
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ readonly TF_FORCE_LOCAL
VERBOSE=0
readonly VERBOSE

minikube_driver="podman"

if [[ $(grep '^ID=' /etc/os-release | awk -F'=' '{print $2}') == "ubuntu" ]]; then
minikube_driver="docker"
fi

# Start minikube
if ! $(minikube status) or $(minikube status | grep Nonexistent\|Stopped); then
Expand Down

0 comments on commit 628718b

Please sign in to comment.