mirror of
https://github.com/zulip/zulip.git
synced 2025-10-22 20:42:14 +00:00
vagrant: Simplify logic for Vagrant 1.8.7 bug.
This is very unlikely to happen since it's been years.
This commit is contained in:
7
Vagrantfile
vendored
7
Vagrantfile
vendored
@@ -5,11 +5,8 @@ VAGRANTFILE_API_VERSION = "2"
|
||||
if Vagrant::VERSION == "1.8.7"
|
||||
path = `command -v curl`
|
||||
if path.include?("/opt/vagrant/embedded/bin/curl")
|
||||
puts "In Vagrant 1.8.7, curl is broken. Please use Vagrant 2.0.2 " \
|
||||
"or run 'sudo rm -f /opt/vagrant/embedded/bin/curl' to fix the " \
|
||||
"issue before provisioning. See " \
|
||||
"https://github.com/mitchellh/vagrant/issues/7997 " \
|
||||
"for reference."
|
||||
puts "In Vagrant 1.8.7, curl is broken. Please the latest Vagrant."
|
||||
puts "See https://github.com/mitchellh/vagrant/issues/7997 for details."
|
||||
exit
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user