You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a secret skip preflight environment variable (#2364)
* Adds a secret skip preflight environment variable
TL;DR
-----
Supports the `SKIP_HOST_PREFLIGHTS` environment variable to skip the
preflight checks. Thjis is not documented and not for general use.
Details
-------
Offers a "hidden" way to skip preflight checks by setting the
environment variable `SKIP_HOST_PREFLIGHTS`. I'm adding the flag to
support our Instruqt labs, since the Instruqt environment require a
wildcard DNS entry that causes the host preflights to fail.
I decided on this approach to avoid teaching any bad habits by telling
the user to use `--ignore-host-preflights` when teaching them about
the Embedded Cluster. I wanted instead to avoid the checks on their
behalf without them realized it. This variable is not deliberately not
documented to avoid similar encouragement of bad habits.
* Reformats code
* Restores missing brace
* Moves to the Linux pre install per @sgalsaleh review
* Checks specific values per @sgalsaleh review
* Fixes failing test
0 commit comments