-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed default UCX installation folder to
/Applications/ucx
from `…
…/Users/<me>/.ucx` to allow multiple users users utilising the same installation (#854) ## [ADVANCED] Force install over existing UCX Using an environment variable `UCX_FORCE_INSTALL` you can force the installation of UCX over an existing installation. The values for the environment variable are 'global' and 'user'. Global Install: When UCX is installed at '/Applications/ucx' User Install: When UCX is installed at '/Users/<user>/.ucx' If there is an existing global installation of UCX, you can force a user installation of UCX over the existing installation by setting the environment variable `UCX_FORCE_INSTALL` to 'global'. At this moment there is no global override over a user installation of UCX. As this requires migration and can break existing installations. | global | user | expected install location | install_folder | mode | | --- | --- | --- | --- |--- | | no | no | default | `/Applications/ucx` | install | | yes | no | default | `/Applications/ucx` | upgrade | | no | yes | default | `/Users/X/.ucx` | upgrade (existing installations must not break) | | yes | yes | default | `/Users/X/.ucx` | upgrade | | yes | no | **USER** | `/Users/X/.ucx` | install (show prompt) | | no | yes | **GLOBAL** | ... | migrate | * `UCX_FORCE_INSTALL=user databricks labs install ucx` - will force the installation to be for user only * `UCX_FORCE_INSTALL=global databricks labs install ucx` - will force the installation to be for root only Related to #803 --------- Co-authored-by: Serge Smertin <serge.smertin@databricks.com>
- Loading branch information
Showing
6 changed files
with
466 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.