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.
This commit is contained in:
Jesse Nelson 2013-09-18 13:42:15 -07:00
parent 778568ffed
commit c7e1681163
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ func (b *Builder) Prepare(raws ...interface{}) error {
"-u {{.AccountId}} " + "-u {{.AccountId}} " +
"-c {{.CertPath}} " + "-c {{.CertPath}} " +
"-r {{.Architecture}} " + "-r {{.Architecture}} " +
"-e {{.PrivatePath}} " + "-e {{.PrivatePath}}/* " +
"-d {{.Destination}} " + "-d {{.Destination}} " +
"-p {{.Prefix}} " + "-p {{.Prefix}} " +
"--batch" "--batch"