зеркало из 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") {
|
if ($machineType -eq "Workstation") {
|
||||||
Write-Host "Customize (Start): Teradici PCoIP"
|
Write-Host "Customize (Start): HP Anyware"
|
||||||
$versionInfo = "23.06"
|
$versionInfo = "23.08"
|
||||||
$installType = if ([string]::IsNullOrEmpty($gpuProvider)) {"pcoip-agent-standard"} else {"pcoip-agent-graphics"}
|
$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"
|
$downloadUrl = "$binStorageHost/Teradici/$versionInfo/$installFile$binStorageAuth"
|
||||||
(New-Object System.Net.WebClient).DownloadFile($downloadUrl, (Join-Path -Path $pwd.Path -ChildPath $installFile))
|
(New-Object System.Net.WebClient).DownloadFile($downloadUrl, (Join-Path -Path $pwd.Path -ChildPath $installFile))
|
||||||
StartProcess .\$installFile "/S /NoPostReboot /Force" "$binDirectory\$installType"
|
StartProcess .\$installFile "/S /NoPostReboot /Force" "$binDirectory\$installType"
|
||||||
Write-Host "Customize (End): Teradici PCoIP"
|
Write-Host "Customize (End): HP Anyware"
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($binPaths -ne "") {
|
if ($binPaths -ne "") {
|
||||||
|
|
|
@ -357,10 +357,10 @@ echo "Customize (End): Deadline Client"
|
||||||
binPaths="$binPaths:$binPathScheduler"
|
binPaths="$binPaths:$binPathScheduler"
|
||||||
|
|
||||||
if [ $machineType == Workstation ]; then
|
if [ $machineType == Workstation ]; then
|
||||||
echo "Customize (Start): Teradici PCoIP"
|
echo "Customize (Start): HP Anyware"
|
||||||
versionInfo="23.06"
|
versionInfo="23.08"
|
||||||
[ "$gpuProvider" == "" ] && installType=pcoip-agent-standard || installType=pcoip-agent-graphics
|
[ "$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"
|
downloadUrl="$binStorageHost/Teradici/$versionInfo/$installFile$binStorageAuth"
|
||||||
curl -o $installFile -L $downloadUrl
|
curl -o $installFile -L $downloadUrl
|
||||||
mkdir -p $installType
|
mkdir -p $installType
|
||||||
|
@ -368,7 +368,7 @@ if [ $machineType == Workstation ]; then
|
||||||
cd $installType
|
cd $installType
|
||||||
StartProcess "./install-pcoip-agent.sh $installType usb-vhci" $binDirectory/$installType
|
StartProcess "./install-pcoip-agent.sh $installType usb-vhci" $binDirectory/$installType
|
||||||
cd $binDirectory
|
cd $binDirectory
|
||||||
echo "Customize (End): Teradici PCoIP"
|
echo "Customize (End): HP Anyware"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$binPaths" != "" ]; then
|
if [ "$binPaths" != "" ]; then
|
||||||
|
|
|
@ -69,7 +69,7 @@ virtualMachines = [
|
||||||
mount = "scheduler.artist.studio:/Deadline /DeadlineServer nfs defaults 0 0"
|
mount = "scheduler.artist.studio:/Deadline /DeadlineServer nfs defaults 0 0"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
teradiciLicenseKey = ""
|
pcoipLicenseKey = ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
monitorExtension = {
|
monitorExtension = {
|
||||||
|
@ -140,7 +140,7 @@ virtualMachines = [
|
||||||
# mount = "scheduler.artist.studio:/Deadline /DeadlineServer nfs defaults 0 0"
|
# mount = "scheduler.artist.studio:/Deadline /DeadlineServer nfs defaults 0 0"
|
||||||
# }
|
# }
|
||||||
# ]
|
# ]
|
||||||
# teradiciLicenseKey = ""
|
# pcoipLicenseKey = ""
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# monitorExtension = {
|
# monitorExtension = {
|
||||||
|
@ -211,7 +211,7 @@ virtualMachines = [
|
||||||
mount = "mount -o anon \\\\scheduler.artist.studio\\Deadline S:"
|
mount = "mount -o anon \\\\scheduler.artist.studio\\Deadline S:"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
teradiciLicenseKey = ""
|
pcoipLicenseKey = ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
monitorExtension = {
|
monitorExtension = {
|
||||||
|
@ -282,7 +282,7 @@ virtualMachines = [
|
||||||
# mount = "mount -o anon \\\\scheduler.artist.studio\\Deadline S:"
|
# mount = "mount -o anon \\\\scheduler.artist.studio\\Deadline S:"
|
||||||
# }
|
# }
|
||||||
# ]
|
# ]
|
||||||
# teradiciLicenseKey = ""
|
# pcoipLicenseKey = ""
|
||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# monitorExtension = {
|
# monitorExtension = {
|
||||||
|
|
|
@ -21,9 +21,9 @@ RegisterFileSystemMountPath $binDirectory
|
||||||
|
|
||||||
EnableFarmClient
|
EnableFarmClient
|
||||||
|
|
||||||
if (${teradiciLicenseKey} != "") {
|
if (${pcoipLicenseKey} != "") {
|
||||||
$installFile = "C:\Program Files\Teradici\PCoIP Agent\pcoip-register-host.ps1"
|
$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 "") {
|
if ("${activeDirectory.domainName}" -ne "") {
|
||||||
|
|
|
@ -20,6 +20,6 @@ mount -a
|
||||||
|
|
||||||
EnableFarmClient
|
EnableFarmClient
|
||||||
|
|
||||||
if [ "${teradiciLicenseKey}" != "" ]; then
|
if [ "${pcoipLicenseKey}" != "" ]; then
|
||||||
StartProcess "/sbin/pcoip-register-host --registration-code=${teradiciLicenseKey}" $binDirectory/pcoip-agent-license
|
StartProcess "/sbin/pcoip-register-host --registration-code=${pcoipLicenseKey}" $binDirectory/pcoip-agent-license
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -72,7 +72,7 @@ variable "virtualMachines" {
|
||||||
mount = string
|
mount = string
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
teradiciLicenseKey = string
|
pcoipLicenseKey = string
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче