Skip to content

Commit

Permalink
[tui/method] If 32-bit CPU is detected then method will be virtualenv…
Browse files Browse the repository at this point in the history
… only
  • Loading branch information
goldyfruit committed Jan 27, 2024
1 parent 1ae1c0e commit a6f9f0e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tui/methods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ declare -a available_methods
active_method="containers"
available_methods=(containers virtualenv)

if [[ "$ARCH" != @(x86_64|aarch64) ]]; then
active_method="virtualenv"
available_methods=(virtualenv)
fi

# Limit available method to match the existing instance
# If containers instance has been deployed then only containers
# method will be available.
Expand Down

0 comments on commit a6f9f0e

Please sign in to comment.