cachefiles = [
('https://dl.google.com/android/repository/tools_r25.1.7-linux.zip',
'3ca053600a86a5a64d5571edfbb1dad27f2bda3bfd2d38e2fe54322610b1ef0b'),
- ('https://dl.google.com/android/repository/android_m2repository_r32.zip',
- 'a6a8d7ffb153161f26d5fdebfa9aa1c9c84b29c62851fffff2cdfad9e094b13b'),
+ ('https://dl.google.com/android/repository/platform-tools_r24-linux.zip',
+ '076368b337d042d163364594dda63b7e778835f636fafb2c8af4d4a604175c32'),
+ ('https://dl.google.com/android/repository/android_m2repository_r33.zip',
+ 'be9bb4a27aeefb1c9adb0cade8771f764447c4cbde74426303db2ac6bde1879c'),
('https://dl.google.com/android/repository/android-1.5_r04-linux.zip',
'85b6c8f9797e56aa415d3a282428bb640c96b0acb17c11d41621bb2a5302fe64'),
('https://dl.google.com/android/repository/android-1.6_r03-linux.zip',
chef.json = {
:settings => {
:debian_mirror => "%s",
- :ubuntu_trusty => "%s",
:user => "vagrant"
}
}
config.vm.provision "file", source: "gradle",
destination: "/opt/gradle/bin/gradle"
+ # let Ubuntu/trusty's paramiko work with the VM instance
+ if `uname -v`.include? "14.04"
+ config.vm.provision "shell", path: "provision-ubuntu-trusty-paramiko"
+ end
+
end
-""" % (config['debian_mirror'],
- str('14.04' in os.uname()[3]).lower())
+""" % config['debian_mirror']
+
# Check against the existing Vagrantfile, and if they differ, we need to
# create a new box: