Skip to content

Commit 9c99636

Browse files
reverting custom template file location change
1 parent ccf17ea commit 9c99636

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

images/windows-core-2019/github_agent.windows.pkr.hcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ build {
114114

115115
provisioner "file" {
116116
content = templatefile("../start-runner.ps1", {
117-
start_runner = templatefile("../templates/start-runner.ps1", {})
117+
start_runner = templatefile("../../modules/runners/templates/start-runner.ps1", {})
118118
})
119119
destination = "C:\\start-runner.ps1"
120120
}
@@ -132,10 +132,10 @@ build {
132132
restart_check_command = "powershell -command \"& {Write-Output 'Restarted!'}\""
133133
restart_timeout = "5m"
134134
}
135-
135+
136136
post-processor "manifest" {
137137
output = "manifest.json"
138138
strip_path = true
139139
}
140-
140+
141141
}

images/windows-core-2022/github_agent.windows.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ build {
134134

135135
provisioner "file" {
136136
content = templatefile("../start-runner.ps1", {
137-
start_runner = templatefile("../../templates/start-runner.ps1", {})
137+
start_runner = templatefile("../../modules/runners/templates/start-runner.ps1", {})
138138
})
139139
destination = "C:\\start-runner.ps1"
140140
}

0 commit comments

Comments
 (0)