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:
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: