Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packer/linux/base/base.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,16 @@ build {
}

provisioner "file" {
destination = "/tmp/conf"
destination = "/tmp/shared-conf"
source = "../shared/conf/"
}

provisioner "shell" {
inline = [
"sudo cp -r /tmp/shared-conf/* /tmp/conf/ 2>/dev/null || true"
]
}

# Essential utilities & updates
provisioner "shell" {
script = "scripts/install-utils.sh"
Expand Down