Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 9c1fa8a

Browse files
committed
fix: packer defintions missing required metadatatag for start script
1 parent 6fcdfae commit 9c1fa8a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: images/linux-amzn2/github_agent.linux.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ build {
159159

160160
provisioner "file" {
161161
content = templatefile("../start-runner.sh", {
162-
start_runner = templatefile("../../modules/runners/templates/start-runner.sh", {})
162+
start_runner = templatefile("../../modules/runners/templates/start-runner.sh", { metadata_tags = "enabled" })
163163
})
164164
destination = "/tmp/start-runner.sh"
165165
}

Diff for: images/ubuntu-focal/github_agent.ubuntu.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ build {
170170

171171
provisioner "file" {
172172
content = templatefile("../start-runner.sh", {
173-
start_runner = templatefile("../../modules/runners/templates/start-runner.sh", {})
173+
start_runner = templatefile("../../modules/runners/templates/start-runner.sh", { metadata_tags = "enabled" })
174174
})
175175
destination = "/tmp/start-runner.sh"
176176
}

Diff for: images/ubuntu-jammy-arm64/github_agent.ubuntu.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ build {
170170

171171
provisioner "file" {
172172
content = templatefile("../start-runner.sh", {
173-
start_runner = templatefile("../../modules/runners/templates/start-runner.sh", {})
173+
start_runner = templatefile("../../modules/runners/templates/start-runner.sh", { metadata_tags = "enabled" })
174174
})
175175
destination = "/tmp/start-runner.sh"
176176
}

Diff for: images/ubuntu-jammy/github_agent.ubuntu.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ build {
170170

171171
provisioner "file" {
172172
content = templatefile("../start-runner.sh", {
173-
start_runner = templatefile("../../modules/runners/templates/start-runner.sh", {})
173+
start_runner = templatefile("../../modules/runners/templates/start-runner.sh", { metadata_tags = "enabled" })
174174
})
175175
destination = "/tmp/start-runner.sh"
176176
}

0 commit comments

Comments
 (0)