aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2020-05-28 12:51:34 -0700
committerMike Crute <mike@crute.us>2020-05-30 13:17:56 -0700
commita0cc4d8a127fa336da0b67a62d93f693408cc128 (patch)
treec48893508d1a80d1b9aee29a605060b85e5c817e
parent5ca05bfb461a228425ea729d21d2abb60955369f (diff)
downloadalpine-ec2-ami-a0cc4d8a127fa336da0b67a62d93f693408cc128.tar.bz2
alpine-ec2-ami-a0cc4d8a127fa336da0b67a62d93f693408cc128.tar.xz
alpine-ec2-ami-a0cc4d8a127fa336da0b67a62d93f693408cc128.zip
Don't require copying scripts to build
-rw-r--r--packer.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/packer.conf b/packer.conf
index e45e368..6571e8d 100644
--- a/packer.conf
+++ b/packer.conf
@@ -67,12 +67,12 @@ builders = [
67provisioners = [ 67provisioners = [
68 { 68 {
69 type = "file" 69 type = "file"
70 source = "nvme/" 70 source = "../scripts/nvme/"
71 destination = "/tmp" 71 destination = "/tmp"
72 } 72 }
73 { 73 {
74 type = "shell" 74 type = "shell"
75 script = "setup-ami" 75 script = "../scripts/setup-ami"
76 environment_vars = [ 76 environment_vars = [
77 "VERSION={{user `version`}}" 77 "VERSION={{user `version`}}"
78 "RELEASE={{user `release`}}" 78 "RELEASE={{user `release`}}"