Pass in a message to the command as well
This commit is contained in:
parent
d29a474fbb
commit
82b24e9a8f
|
@ -30,6 +30,7 @@ module VagrantPlugins
|
||||||
cmd += metadata.map { |k,v| ["-metadata", "#{k}=#{v}"] }
|
cmd += metadata.map { |k,v| ["-metadata", "#{k}=#{v}"] }
|
||||||
cmd += ["-address", config.address] if config.address
|
cmd += ["-address", config.address] if config.address
|
||||||
cmd += ["-token", config.token] if config.token
|
cmd += ["-token", config.token] if config.token
|
||||||
|
cmd += ["-message", message] if message
|
||||||
cmd << config.app
|
cmd << config.app
|
||||||
cmd << File.expand_path(config.dir, env.root_path)
|
cmd << File.expand_path(config.dir, env.root_path)
|
||||||
Vagrant::Util::SafeExec.exec(uploader, *cmd.flatten)
|
Vagrant::Util::SafeExec.exec(uploader, *cmd.flatten)
|
||||||
|
|
Loading…
Reference in New Issue