зеркало из https://github.com/Azure/Avere.git
Azure rendering solution deployment framework
This commit is contained in:
Родитель
490a9db7ec
Коммит
9c2897b995
|
@ -412,14 +412,14 @@ if ($machineType -eq "Farm") {
|
|||
}
|
||||
|
||||
if ($machineType -eq "Workstation") {
|
||||
Write-Host "Customize (Start): Teradici PCoIP"
|
||||
$versionInfo = "23.06"
|
||||
Write-Host "Customize (Start): HP Anyware"
|
||||
$versionInfo = "23.08"
|
||||
$installType = if ([string]::IsNullOrEmpty($gpuProvider)) {"pcoip-agent-standard"} else {"pcoip-agent-graphics"}
|
||||
$installFile = "${installType}_$versionInfo.3.exe"
|
||||
$installFile = "${installType}_$versionInfo.2.exe"
|
||||
$downloadUrl = "$binStorageHost/Teradici/$versionInfo/$installFile$binStorageAuth"
|
||||
(New-Object System.Net.WebClient).DownloadFile($downloadUrl, (Join-Path -Path $pwd.Path -ChildPath $installFile))
|
||||
StartProcess .\$installFile "/S /NoPostReboot /Force" "$binDirectory\$installType"
|
||||
Write-Host "Customize (End): Teradici PCoIP"
|
||||
Write-Host "Customize (End): HP Anyware"
|
||||
}
|
||||
|
||||
if ($binPaths -ne "") {
|
||||
|
|
|
@ -357,10 +357,10 @@ echo "Customize (End): Deadline Client"
|
|||
binPaths="$binPaths:$binPathScheduler"
|
||||
|
||||
if [ $machineType == Workstation ]; then
|
||||
echo "Customize (Start): Teradici PCoIP"
|
||||
versionInfo="23.06"
|
||||
echo "Customize (Start): HP Anyware"
|
||||
versionInfo="23.08"
|
||||
[ "$gpuProvider" == "" ] && installType=pcoip-agent-standard || installType=pcoip-agent-graphics
|
||||
installFile="pcoip-agent-offline-rocky8.8_23.06.3-1.el8.x86_64.tar.gz"
|
||||
installFile="pcoip-agent-offline-rhel9.2_$versionInfo.2-1.el9.x86_64.tar.gz"
|
||||
downloadUrl="$binStorageHost/Teradici/$versionInfo/$installFile$binStorageAuth"
|
||||
curl -o $installFile -L $downloadUrl
|
||||
mkdir -p $installType
|
||||
|
@ -368,7 +368,7 @@ if [ $machineType == Workstation ]; then
|
|||
cd $installType
|
||||
StartProcess "./install-pcoip-agent.sh $installType usb-vhci" $binDirectory/$installType
|
||||
cd $binDirectory
|
||||
echo "Customize (End): Teradici PCoIP"
|
||||
echo "Customize (End): HP Anyware"
|
||||
fi
|
||||
|
||||
if [ "$binPaths" != "" ]; then
|
||||
|
|
|
@ -69,7 +69,7 @@ virtualMachines = [
|
|||
mount = "scheduler.artist.studio:/Deadline /DeadlineServer nfs defaults 0 0"
|
||||
}
|
||||
]
|
||||
teradiciLicenseKey = ""
|
||||
pcoipLicenseKey = ""
|
||||
}
|
||||
}
|
||||
monitorExtension = {
|
||||
|
@ -140,7 +140,7 @@ virtualMachines = [
|
|||
# mount = "scheduler.artist.studio:/Deadline /DeadlineServer nfs defaults 0 0"
|
||||
# }
|
||||
# ]
|
||||
# teradiciLicenseKey = ""
|
||||
# pcoipLicenseKey = ""
|
||||
# }
|
||||
# }
|
||||
# monitorExtension = {
|
||||
|
@ -211,7 +211,7 @@ virtualMachines = [
|
|||
mount = "mount -o anon \\\\scheduler.artist.studio\\Deadline S:"
|
||||
}
|
||||
]
|
||||
teradiciLicenseKey = ""
|
||||
pcoipLicenseKey = ""
|
||||
}
|
||||
}
|
||||
monitorExtension = {
|
||||
|
@ -282,7 +282,7 @@ virtualMachines = [
|
|||
# mount = "mount -o anon \\\\scheduler.artist.studio\\Deadline S:"
|
||||
# }
|
||||
# ]
|
||||
# teradiciLicenseKey = ""
|
||||
# pcoipLicenseKey = ""
|
||||
# }
|
||||
# }
|
||||
# monitorExtension = {
|
||||
|
|
|
@ -21,9 +21,9 @@ RegisterFileSystemMountPath $binDirectory
|
|||
|
||||
EnableFarmClient
|
||||
|
||||
if (${teradiciLicenseKey} != "") {
|
||||
if (${pcoipLicenseKey} != "") {
|
||||
$installFile = "C:\Program Files\Teradici\PCoIP Agent\pcoip-register-host.ps1"
|
||||
StartProcess PowerShell.exe "-ExecutionPolicy Unrestricted -File ""$installFile"" -RegistrationCode ${teradiciLicenseKey}" $binDirectory/pcoip-agent-license
|
||||
StartProcess PowerShell.exe "-ExecutionPolicy Unrestricted -File ""$installFile"" -RegistrationCode ${pcoipLicenseKey}" $binDirectory/pcoip-agent-license
|
||||
}
|
||||
|
||||
if ("${activeDirectory.domainName}" -ne "") {
|
||||
|
|
|
@ -20,6 +20,6 @@ mount -a
|
|||
|
||||
EnableFarmClient
|
||||
|
||||
if [ "${teradiciLicenseKey}" != "" ]; then
|
||||
StartProcess "/sbin/pcoip-register-host --registration-code=${teradiciLicenseKey}" $binDirectory/pcoip-agent-license
|
||||
if [ "${pcoipLicenseKey}" != "" ]; then
|
||||
StartProcess "/sbin/pcoip-register-host --registration-code=${pcoipLicenseKey}" $binDirectory/pcoip-agent-license
|
||||
fi
|
||||
|
|
|
@ -72,7 +72,7 @@ variable "virtualMachines" {
|
|||
mount = string
|
||||
}
|
||||
))
|
||||
teradiciLicenseKey = string
|
||||
pcoipLicenseKey = string
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче