-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Bootstrap Failing on New Installs #1827
Comments
This probably needs to be wrapped in a Try/Except block... |
@twangboy One recommendation I received on how to resolve this was the following:
This may be an alternative to the existing code, but I'm not very familiar with Powershell and its best practices. |
That would probably work too, but the variable would be empty. So, set it first, then SilentlyContinue. |
I think the bigger issue here is that this causes problems for windows bootstraping in 3005.1+ because the default location the minion looks for confs is nolonger c:\salt. |
@doesitblend Can you retry with the latest bootstrap script which has been heavily updated this July, noting that support for older EOL version of Salt has been dropped. If the latest version of the bootstrap script resolves your issues, please consider closing this issue. |
Description of Issue/Question
The latest version of the Windows bootstrap script checks for a registry key that will not exist if Salt is not already installed. The code producing the error seems to be on line 190 of the script.
Setup
Deploy a fresh Windows VM
Steps to Reproduce Issue
Run the bootstrap script with the options shown in the second image attached
Versions and Systems
Bootstrap version: 2022.03.15
The text was updated successfully, but these errors were encountered: