From 699069ef790531cc217e50eb7846b23bee90f64a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Thu, 6 Feb 2020 20:06:08 +0100 Subject: [PATCH] Automatically set permissions --- packer/build.pkr.hcl | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/packer/build.pkr.hcl b/packer/build.pkr.hcl index 9bff61f..815736b 100644 --- a/packer/build.pkr.hcl +++ b/packer/build.pkr.hcl @@ -5,8 +5,8 @@ build { provisioner "file" { direction = "upload" - source = "./rootfs/" - destination = "/" + source = "./rootfs" + destination = "/tmp" } provisioner "shell" { @@ -17,14 +17,11 @@ build { inline_shebang = "/bin/sh -eux" inline = [ <