Skip to content

Commit

Permalink
Cleanup output directory for rocky8
Browse files Browse the repository at this point in the history
  • Loading branch information
GR360RY committed Feb 1, 2024
1 parent 8a49b8d commit f27ece2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rocky8/rocky8.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ build {

post-processor "shell-local" {
inline = [
"SOURCE=rocky8",
"SOURCE=${source.name}",
"OUTPUT=${var.filename}",
"source ../scripts/fuse-nbd",
"source ../scripts/fuse-tar-root"
"source ../scripts/fuse-tar-root",
"rm -rf output-${source.name}",
]
inline_shebang = "/bin/bash -e"
}
Expand Down

0 comments on commit f27ece2

Please sign in to comment.