зеркало из https://github.com/Azure/Avere.git
Azure rendering solution deployment framework
This commit is contained in:
Родитель
884b4863e6
Коммит
c60f33e2f9
|
@ -393,26 +393,28 @@ if ($machineType -ne "Storage") {
|
|||
Copy-Item -Path $databasePath\certs\$certificateFile -Destination $installRoot\$certificateFile
|
||||
New-NfsShare -Name "Deadline" -Path $installRoot -Permission ReadWrite
|
||||
Write-Host "Customize (End): Deadline Server"
|
||||
} else {
|
||||
Write-Host "Customize (Start): Deadline Client"
|
||||
$installType = "deadline-client"
|
||||
$installFile = "DeadlineClient-$versionInfo-windows-installer.exe"
|
||||
$installArgs = "--mode unattended --prefix $installRoot"
|
||||
if ($machineType -eq "Scheduler") {
|
||||
$installArgs = "$installArgs --slavestartup false --launcherservice false"
|
||||
} else {
|
||||
if ($machineType -eq "Farm") {
|
||||
$workerStartup = "true"
|
||||
} else {
|
||||
$workerStartup = "false"
|
||||
}
|
||||
$installArgs = "$installArgs --slavestartup $workerStartup --launcherservice true"
|
||||
}
|
||||
StartProcess .\$installFile $installArgs "$binDirectory\$installType"
|
||||
Copy-Item -Path $env:TMP\installbuilder_installer.log -Destination $binDirectory\$installType.log
|
||||
Set-Location -Path $binDirectory
|
||||
Write-Host "Customize (End): Deadline Client"
|
||||
}
|
||||
|
||||
Write-Host "Customize (Start): Deadline Client"
|
||||
$installType = "deadline-client"
|
||||
$installFile = "DeadlineClient-$versionInfo-windows-installer.exe"
|
||||
$installArgs = "--mode unattended --prefix $installRoot"
|
||||
if ($machineType -eq "Scheduler") {
|
||||
$installArgs = "$installArgs --slavestartup false --launcherservice false"
|
||||
} else {
|
||||
if ($machineType -eq "Farm") {
|
||||
$workerStartup = "true"
|
||||
} else {
|
||||
$workerStartup = "false"
|
||||
}
|
||||
$installArgs = "$installArgs --slavestartup $workerStartup --launcherservice true"
|
||||
}
|
||||
StartProcess .\$installFile $installArgs "$binDirectory\$installType"
|
||||
Copy-Item -Path $env:TMP\installbuilder_installer.log -Destination $binDirectory\$installType.log
|
||||
Set-Location -Path $binDirectory
|
||||
Write-Host "Customize (End): Deadline Client"
|
||||
|
||||
if ($machineType -ne "Scheduler") {
|
||||
Write-Host "Customize (Start): Deadline Monitor"
|
||||
$shortcutPath = "$env:AllUsersProfile\Desktop\Deadline Monitor.lnk"
|
||||
$scriptShell = New-Object -ComObject WScript.Shell
|
||||
|
|
|
@ -356,21 +356,21 @@ if [ $machineType != Storage ]; then
|
|||
echo "$installRoot *(rw,sync,no_subtree_check,no_root_squash)" >> /etc/exports
|
||||
exportfs -r
|
||||
echo "Customize (End): Deadline Server"
|
||||
else
|
||||
echo "Customize (Start): Deadline Client"
|
||||
installFile="DeadlineClient-$versionInfo-linux-x64-installer.run"
|
||||
installArgs="--mode unattended --prefix $installRoot"
|
||||
if [ $machineType == Scheduler ]; then
|
||||
installArgs="$installArgs --slavestartup false --launcherdaemon false"
|
||||
else
|
||||
[ $machineType == Farm ] && workerStartup=true || workerStartup=false
|
||||
installArgs="$installArgs --slavestartup $workerStartup --launcherdaemon true"
|
||||
fi
|
||||
StartProcess "$installPath/$installFile $installArgs" $binDirectory/$installType
|
||||
cp /tmp/installbuilder_installer.log $binDirectory/deadline-client.log
|
||||
echo "Customize (End): Deadline Client"
|
||||
fi
|
||||
|
||||
echo "Customize (Start): Deadline Client"
|
||||
installFile="DeadlineClient-$versionInfo-linux-x64-installer.run"
|
||||
installArgs="--mode unattended --prefix $installRoot"
|
||||
if [ $machineType == Scheduler ]; then
|
||||
installArgs="$installArgs --slavestartup false --launcherdaemon false"
|
||||
else
|
||||
[ $machineType == Farm ] && workerStartup=true || workerStartup=false
|
||||
installArgs="$installArgs --slavestartup $workerStartup --launcherdaemon true"
|
||||
fi
|
||||
StartProcess "$installPath/$installFile $installArgs" $binDirectory/$installType
|
||||
cp /tmp/installbuilder_installer.log $binDirectory/deadline-client.log
|
||||
echo "Customize (End): Deadline Client"
|
||||
|
||||
binPaths="$binPaths:$binPathScheduler"
|
||||
fi
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче