Merge pull request #9966 from conspicuousClockwork/#9965
Added option to add to User-Agent
This commit is contained in:
commit
a490a8c587
|
@ -17,7 +17,7 @@ module Vagrant
|
|||
# are properly tracked.
|
||||
#
|
||||
# Vagrant/1.7.4 (+https://www.vagrantup.com; ruby2.1.0)
|
||||
USER_AGENT = "Vagrant/#{VERSION} (+https://www.vagrantup.com; #{RUBY_ENGINE}#{RUBY_VERSION})".freeze
|
||||
USER_AGENT = "Vagrant/#{VERSION} (+https://www.vagrantup.com; #{RUBY_ENGINE}#{RUBY_VERSION}) #{ENV['VAGRANT_USER_AGENT_PROVISIONAL_STRING']}".freeze
|
||||
|
||||
# Supported file checksum
|
||||
CHECKSUM_MAP = {
|
||||
|
|
|
@ -248,3 +248,7 @@ detection.
|
|||
|
||||
Vagrant will not display the warning about disabling the core trigger feature if
|
||||
the community plugin is installed.
|
||||
|
||||
## `VAGRANT_USER_AGENT_PROVISIONAL_STRING`
|
||||
|
||||
Vagrant will append the contents of this variable to the default user agent header.
|
||||
|
|
Loading…
Reference in New Issue