File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ resource "coder_script" "windows-rdp" {
34
34
agent_id = var. agent_id
35
35
display_name = " windows-rdp"
36
36
icon = " https://svgur.com/i/158F.svg" # TODO: add to Coder icons
37
- script = << EOF
37
+ script = << EOF
38
38
function Set-AdminPassword {
39
39
param (
40
40
[string]$adminPassword
@@ -62,6 +62,7 @@ resource "coder_script" "windows-rdp" {
62
62
63
63
# Install the module with the specified version for all users
64
64
# This requires administrator privileges
65
+ Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
65
66
Install-Module -Name $moduleName -RequiredVersion $moduleVersion -Force
66
67
67
68
# Construct the module path for system-wide installation
@@ -116,7 +117,7 @@ ${templatefile("${path.module}/devolutions-patch.js", {
116
117
117
118
EOF
118
119
119
- run_on_start = true
120
+ run_on_start = true
120
121
}
121
122
122
123
resource "coder_app" "windows-rdp" {
You can’t perform that action at this time.
0 commit comments