We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be75d72 commit 03af5f4Copy full SHA for 03af5f4
1 file changed
rocky8/rocky8.pkr.hcl
@@ -90,10 +90,11 @@ build {
90
91
post-processor "shell-local" {
92
inline = [
93
- "SOURCE=rocky8",
+ "SOURCE=${source.name}",
94
"OUTPUT=${var.filename}",
95
"source ../scripts/fuse-nbd",
96
- "source ../scripts/fuse-tar-root"
+ "source ../scripts/fuse-tar-root",
97
+ "rm -rf output-${source.name}",
98
]
99
inline_shebang = "/bin/bash -e"
100
}
0 commit comments