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

Accept CSV list of license keys #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion linux/automated-installer/automated-installer
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ show_help() {
When not set, the initialize-tsm script uses its default value.

-k license-key Specify product key used to activate Tableau Server.
Can be a single key or CSV list to activate multiple keys.
When not set, a trial license will be activated.

-g Do NOT add the current user to the "tsmadmin" administrative
Expand Down Expand Up @@ -583,7 +584,10 @@ setup() {
if [ "$license_key" == "" ]; then
run_tsm licenses activate --trial
else
run_tsm licenses activate --license-key "${license_key}"
IFS="," read -r -a license_arr <<< "${license_key}"
for key in "${license_arr[@]}" ; do
run_tsm licenses activate --license-key "${key}"
done
fi

print "Registering product..."
Expand Down