Commit a667282e authored by Josh Frye's avatar Josh Frye

Single quote env var values.

parent 2fd3f64a
......@@ -178,6 +178,12 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
}
}
// Single quote env var values
for key := range p.config.Vars {
vs := strings.SplitN(p.config.Vars[key], "=", 2)
p.config.Vars[key] = fmt.Sprintf("%s='%s'", vs[0], vs[1])
}
if p.config.RawStartRetryTimeout != "" {
p.config.startRetryTimeout, err = time.ParseDuration(p.config.RawStartRetryTimeout)
if err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment