Skip to content

Instantly share code, notes, and snippets.

@albertogeniola
Created October 29, 2023 11:25
Show Gist options
  • Select an option

  • Save albertogeniola/c4818d5ea732f3c919fc30d6ab607bb4 to your computer and use it in GitHub Desktop.

Select an option

Save albertogeniola/c4818d5ea732f3c919fc30d6ab607bb4 to your computer and use it in GitHub Desktop.
build {
sources = [
"source.googlecompute.packed_image"
]
provisioner "shell" {
script = "./scripts/setup.sh"
}
provisioner "file" {
source = "./rootfs"
destination = "/tmp"
}
provisioner "shell" {
script = "./scripts/move_and_align_permissions.sh"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment