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
Describe the bug:
If you install rke2 without the Containers feature for windows installed you'll get the following error:
[ERROR] Windows feature: 'Containers' is not installed. Please run: Install-WindowsFeature -Name Containers
Confirm-WindowsFeatures : The variable '$suffix' cannot be retrieved because it has not been set.
At C:\Users\Administrator\install.ps1:670 char:1
+ Confirm-WindowsFeatures -RequiredFeatures @("Containers")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (suffix:String) [Confirm-WindowsFeatures], RuntimeException
+ FullyQualifiedErrorId : VariableIsUndefined,Confirm-WindowsFeatures
This is because the Powershell script install.ps1 uses the variable $suffix without initializing it here
Steps To Reproduce:
Ensure windows feature Container is not present
run ./install.ps1
Expected behavior:
Error message should print without powershell InvalidOperation error.
Actual behavior:
powershell InvalidOperation error.
Additional context / logs:
None
The text was updated successfully, but these errors were encountered:
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 45 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions.
Environmental Info:
RKE2 Version:
master
/1.31
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
Describe the bug:
If you install rke2 without the
Containers
feature for windows installed you'll get the following error:This is because the Powershell script
install.ps1
uses the variable$suffix
without initializing it hereSteps To Reproduce:
Container
is not present./install.ps1
Expected behavior:
Error message should print without powershell
InvalidOperation
error.Actual behavior:
powershell
InvalidOperation
error.Additional context / logs:
None
The text was updated successfully, but these errors were encountered: