From 0fadb8d02f3b1af36085c9a4c0baff1e8575ac1f Mon Sep 17 00:00:00 2001 From: Jesse Nelson Date: Wed, 18 Sep 2013 13:42:15 -0700 Subject: [PATCH] exclude everything in /tmp, but keep /tmp itself There is IMO a bug with image builder that it removes /tmp, in the current setup. This patch makes the image bundle ignore everyting in /tmp, but keeps /tmp on the box. --- builder/amazon/instance/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/amazon/instance/builder.go b/builder/amazon/instance/builder.go index 071e0e24e..44691ecee 100644 --- a/builder/amazon/instance/builder.go +++ b/builder/amazon/instance/builder.go @@ -83,7 +83,7 @@ func (b *Builder) Prepare(raws ...interface{}) error { "-u {{.AccountId}} " + "-c {{.CertPath}} " + "-r {{.Architecture}} " + - "-e {{.PrivatePath}} " + + "-e {{.PrivatePath}}/* " + "-d {{.Destination}} " + "-p {{.Prefix}} " + "--batch"