forked from aws-deadline/deadline-cloud-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdisconnect_ubl_queue_env.yaml
More file actions
42 lines (38 loc) · 1.33 KB
/
Copy pathdisconnect_ubl_queue_env.yaml
File metadata and controls
42 lines (38 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
specificationVersion: 'environment-2023-09'
environment:
name: DisconnectUBL
description: |
Unsets Deadline Cloud Usage Based License (UBL) environment variables.
Use this queue environment if you would like to turn off all connection to
Deadline Cloud UBL for your queue and force the use of a custom license server.
(see https://docs.aws.amazon.com/deadline-cloud/latest/developerguide/smf-byol.html).
This queue environment should be run before any other queue environments
(for example, by setting the priority to 0) so that connections to your
custom licenses server (such as RLM) in other queue environments are not
accidentally removed.
Please note that this is a sample, additional UBL environment variables may
be added in the future.
script:
actions:
onEnter:
command: bash
args:
- "{{Env.File.Enter}}"
embeddedFiles:
- name: Enter
filename: disconnect-ubl-enter.sh
type: TEXT
data: |
vars=(
ADSKFLEX_LICENSE_FILE
LUXION_LICENSE_FILE
PIXAR_LICENSE_FILE
SESI_LMHOST
VRAY_AUTH_CLIENT_SETTINGS
foundry_LICENSE
g_licenseServerRLM
redshift_LICENSE
)
for var in "${vars[@]}"; do
echo "openjd_unset_env: $var"
done