Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Support using Authorization-To-Run (ATR) Service
Browse files Browse the repository at this point in the history
Add support for specifying --activation-service to enable ATR for
license activation on Linux (it is default for new installs on Windows)

https://help.tableau.com/current/server/en-us/atr_service.htm
  • Loading branch information
nosnilmot committed Sep 16, 2022
1 parent 39b6c18 commit 8e72a09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions linux/automated-installer/automated-installer
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ check_arguments() {
accepteula)
accept_eula_arg='--accepteula'
;;
activation-service)
activation_service=1
;;
force)
force_arg='-f'
;;
Expand Down Expand Up @@ -529,6 +532,7 @@ run_initialize_tsm() {
initialize_tsm_cmd=("${install_dir}/packages/scripts.${version_string}/initialize-tsm")

[ -n "${accept_eula_arg}" ] && initialize_tsm_cmd+=("--accepteula")
[ ${activation_service} -eq 1 ] && initialize_tsm_cmd+=("--activation-service")
[ -n "${force_arg}" ] && initialize_tsm_cmd+=("-f")
[ ${verbose} -eq 0 ] && initialize_tsm_cmd+=("-q") # "not verbose" becomes "quiet"
[ ${add_user_to_groups} -eq 0 ] && initialize_tsm_cmd+=("-g")
Expand Down Expand Up @@ -654,6 +658,7 @@ main() {
local gateway_port=80
local registration_file=''
local accept_eula_arg=''
local activation_serivce=0
local force_arg=''
local license_key=''
local group_username=''
Expand Down

0 comments on commit 8e72a09

Please sign in to comment.