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

Commit 8e72a09

Browse files
committed
Support using Authorization-To-Run (ATR) Service
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
1 parent 39b6c18 commit 8e72a09

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

linux/automated-installer/automated-installer

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ check_arguments() {
307307
accepteula)
308308
accept_eula_arg='--accepteula'
309309
;;
310+
activation-service)
311+
activation_service=1
312+
;;
310313
force)
311314
force_arg='-f'
312315
;;
@@ -529,6 +532,7 @@ run_initialize_tsm() {
529532
initialize_tsm_cmd=("${install_dir}/packages/scripts.${version_string}/initialize-tsm")
530533

531534
[ -n "${accept_eula_arg}" ] && initialize_tsm_cmd+=("--accepteula")
535+
[ ${activation_service} -eq 1 ] && initialize_tsm_cmd+=("--activation-service")
532536
[ -n "${force_arg}" ] && initialize_tsm_cmd+=("-f")
533537
[ ${verbose} -eq 0 ] && initialize_tsm_cmd+=("-q") # "not verbose" becomes "quiet"
534538
[ ${add_user_to_groups} -eq 0 ] && initialize_tsm_cmd+=("-g")
@@ -654,6 +658,7 @@ main() {
654658
local gateway_port=80
655659
local registration_file=''
656660
local accept_eula_arg=''
661+
local activation_serivce=0
657662
local force_arg=''
658663
local license_key=''
659664
local group_username=''

0 commit comments

Comments
 (0)