You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that Cloudbase-init.msi silent install fails on writing file cloudbase-init.conf. It's not empty, but if fails exactly before the option "groups" is set and in automatic mode it is set in ru-locale to "Администраторы".
I've double-checked: without any automation, the installer does the same. If I change "Администраторы" to "Administators", the installation succeeds.
There is a missing option for this automated deploy in $msiexecArgumentList for this to change, so there is no automatic way to overwhelm this problem.
Ways for solution:
Fix the writing behaviour for non-ascii symbols into configuration
Or at least make it possible to override it during msi silent installation
The text was updated successfully, but these errors were encountered:
Comment out the part related to cloudbase-init MSI installation
Instead of this part insert this to make the script wait for file "C:\UnattendResources\done.txt" creation to proceed:
$signalFile = "$resourcesDir\done.txt"
Write-Host "Please install Cloudbase-Init manually. Create the file $signalFile when done."
# Wait for the signal file to be created
while (-not (Test-Path $signalFile)) {
Start-Sleep -Seconds 10
}
Remove-Item $signalFile -ErrorAction SilentlyContinue
When the script pauses and tells you to install cloudbase-init manually, do it. In the field "groups" write anything in english (Administrators for example).
After cloudbase-init installation, replace the value in "C:\Program Files\Cloudbase-init\conf\cloudbase-init.conf" at third line to correspond your groups. I have put a ready init.conf file in the folder which is copied to C:\UnattendResources folder and than replaced the file inside "C:\Program Files\Cloudbase-init..." but you do it as you wish
After that create a text file C:\UnattendResources\done.txt
After all powershell windows close, manually turn off the VM
It seems that Cloudbase-init.msi silent install fails on writing file cloudbase-init.conf. It's not empty, but if fails exactly before the option "groups" is set and in automatic mode it is set in ru-locale to "Администраторы".
I've double-checked: without any automation, the installer does the same. If I change "Администраторы" to "Administators", the installation succeeds.
There is a missing option for this automated deploy in $msiexecArgumentList for this to change, so there is no automatic way to overwhelm this problem.
Ways for solution:
The text was updated successfully, but these errors were encountered: