Vagrantfile 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. # Automated creation of testing environments / binaries on misc. platforms
  4. $cpus = Integer(ENV.fetch('VMCPUS', '16')) # create VMs with that many cpus
  5. $xdistn = Integer(ENV.fetch('XDISTN', '16')) # dispatch tests to that many pytest workers
  6. $wmem = $xdistn * 256 # give the VM additional memory for workers [MB]
  7. def packages_debianoid(user)
  8. return <<-EOF
  9. export DEBIAN_FRONTEND=noninteractive
  10. # this is to avoid grub asking about which device it should install to:
  11. echo "set grub-pc/install_devices /dev/sda" | debconf-communicate
  12. apt-get -y -qq update
  13. apt-get -y -qq dist-upgrade
  14. # for building borgbackup and dependencies:
  15. apt install -y libssl-dev libacl1-dev liblz4-dev libzstd-dev libxxhash-dev pkg-config
  16. apt install -y libfuse-dev fuse || true
  17. apt install -y libfuse3-dev fuse3 || true
  18. apt install -y locales || true
  19. sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
  20. usermod -a -G fuse #{user}
  21. chgrp fuse /dev/fuse
  22. chmod 666 /dev/fuse
  23. apt install -y fakeroot build-essential git curl
  24. apt install -y python3-dev python3-setuptools virtualenv
  25. # for building python:
  26. apt install -y zlib1g-dev libbz2-dev libncurses5-dev libreadline-dev liblzma-dev libsqlite3-dev libffi-dev
  27. EOF
  28. end
  29. def packages_freebsd
  30. return <<-EOF
  31. # in case the VM has no hostname set
  32. hostname freebsd
  33. # install all the (security and other) updates, base system
  34. freebsd-update --not-running-from-cron fetch install
  35. # for building borgbackup and dependencies:
  36. pkg install -y liblz4 zstd pkgconf
  37. pkg install -y fusefs-libs || true
  38. pkg install -y fusefs-libs3 || true
  39. pkg install -y git bash # fakeroot causes lots of troubles on freebsd
  40. # for building python (for the tests we use pyenv built pythons):
  41. pkg install -y python310 py310-sqlite3
  42. # make sure there is a python3 command
  43. ln -sf /usr/local/bin/python3.10 /usr/local/bin/python3
  44. python3 -m ensurepip
  45. pip3 install virtualenv
  46. # make bash default / work:
  47. chsh -s bash vagrant
  48. mount -t fdescfs fdesc /dev/fd
  49. echo 'fdesc /dev/fd fdescfs rw 0 0' >> /etc/fstab
  50. # make FUSE work
  51. echo 'fuse_load="YES"' >> /boot/loader.conf
  52. echo 'vfs.usermount=1' >> /etc/sysctl.conf
  53. kldload fusefs
  54. sysctl vfs.usermount=1
  55. pw groupmod operator -M vagrant
  56. # /dev/fuse has group operator
  57. chmod 666 /dev/fuse
  58. # install all the (security and other) updates, packages
  59. pkg update
  60. yes | pkg upgrade
  61. echo 'export BORG_OPENSSL_PREFIX=/usr' >> ~vagrant/.bash_profile
  62. EOF
  63. end
  64. def packages_openbsd
  65. return <<-EOF
  66. pkg_add bash
  67. chsh -s bash vagrant
  68. pkg_add xxhash
  69. pkg_add lz4
  70. pkg_add zstd
  71. pkg_add git # no fakeroot
  72. pkg_add openssl%3.0
  73. pkg_add py3-pip
  74. pkg_add py3-virtualenv
  75. EOF
  76. end
  77. def packages_netbsd
  78. return <<-EOF
  79. echo 'http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$arch/9.3/All' > /usr/pkg/etc/pkgin/repositories.conf
  80. pkgin update
  81. pkgin -y upgrade
  82. pkg_add zstd lz4 xxhash git
  83. pkg_add bash
  84. chsh -s bash vagrant
  85. echo "export PROMPT_COMMAND=" >> ~vagrant/.bash_profile # bug in netbsd 9.2, .bash_profile broken for screen
  86. echo "export PROMPT_COMMAND=" >> ~root/.bash_profile # bug in netbsd 9.2, .bash_profile broken for screen
  87. pkg_add pkg-config
  88. # pkg_add fuse # llfuse supports netbsd, but is still buggy.
  89. # https://bitbucket.org/nikratio/python-llfuse/issues/70/perfuse_open-setsockopt-no-buffer-space
  90. pkg_add py311-sqlite3 py311-pip py311-virtualenv py311-expat
  91. ln -s /usr/pkg/bin/python3.11 /usr/pkg/bin/python
  92. ln -s /usr/pkg/bin/python3.11 /usr/pkg/bin/python3
  93. ln -s /usr/pkg/bin/pip3.11 /usr/pkg/bin/pip
  94. ln -s /usr/pkg/bin/pip3.11 /usr/pkg/bin/pip3
  95. ln -s /usr/pkg/bin/virtualenv-3.11 /usr/pkg/bin/virtualenv
  96. ln -s /usr/pkg/bin/virtualenv-3.11 /usr/pkg/bin/virtualenv3
  97. EOF
  98. end
  99. def packages_darwin
  100. return <<-EOF
  101. # install all the (security and other) updates
  102. sudo softwareupdate --ignore iTunesX
  103. sudo softwareupdate --ignore iTunes
  104. sudo softwareupdate --ignore Safari
  105. sudo softwareupdate --ignore "Install macOS High Sierra"
  106. sudo softwareupdate --install --all
  107. which brew || CI=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  108. brew update > /dev/null
  109. brew install pkg-config readline openssl@3.0 zstd lz4 xz xxhash
  110. brew install --cask macfuse
  111. # brew upgrade # upgrade everything (takes rather long)
  112. echo 'export LDFLAGS=-L/usr/local/opt/openssl@3.0/lib' >> ~vagrant/.bash_profile
  113. echo 'export CPPFLAGS=-I/usr/local/opt/openssl@3.0/include' >> ~vagrant/.bash_profile
  114. echo 'export PKG_CONFIG_PATH=/usr/local/opt/openssl@3.0/lib/pkgconfig' >> ~vagrant/.bash_profile
  115. echo 'export PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA=openssl@3.0' >> ~vagrant/.bash_profile
  116. EOF
  117. end
  118. def packages_openindiana
  119. return <<-EOF
  120. # needs separate provisioning step + reboot:
  121. #pkg update
  122. pkg install gcc-13 git pkg-config libxxhash
  123. ln -sf /usr/bin/python3.9 /usr/bin/python3
  124. python3 -m ensurepip
  125. ln -sf /usr/bin/pip3.9 /usr/bin/pip3
  126. pip3 install virtualenv
  127. # let borg's pkg-config find openssl:
  128. pfexec pkg set-mediator -V 3.1 openssl
  129. EOF
  130. end
  131. def install_pyenv(boxname)
  132. return <<-EOF
  133. echo 'export PYTHON_CONFIGURE_OPTS="--enable-shared"' >> ~/.bash_profile
  134. echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
  135. echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
  136. . ~/.bash_profile
  137. curl -s -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
  138. echo 'eval "$(pyenv init --path)"' >> ~/.bash_profile
  139. echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
  140. echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
  141. echo 'eval "$(pyenv init -)"' >> ~/.bashrc
  142. echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
  143. EOF
  144. end
  145. def fix_pyenv_darwin(boxname)
  146. return <<-EOF
  147. echo 'export PYTHON_CONFIGURE_OPTS="--enable-framework"' >> ~/.bash_profile
  148. EOF
  149. end
  150. def install_pythons(boxname)
  151. return <<-EOF
  152. . ~/.bash_profile
  153. pyenv install 3.12.0 # tests
  154. pyenv install 3.11.8 # tests, binary build
  155. pyenv install 3.10.2 # tests
  156. pyenv install 3.9.4 # tests
  157. pyenv rehash
  158. EOF
  159. end
  160. def build_sys_venv(boxname)
  161. return <<-EOF
  162. . ~/.bash_profile
  163. cd /vagrant/borg
  164. virtualenv --python=python3 borg-env
  165. EOF
  166. end
  167. def build_pyenv_venv(boxname)
  168. return <<-EOF
  169. . ~/.bash_profile
  170. cd /vagrant/borg
  171. # use the latest 3.11 release
  172. pyenv global 3.11.8
  173. pyenv virtualenv 3.11.8 borg-env
  174. ln -s ~/.pyenv/versions/borg-env .
  175. EOF
  176. end
  177. def install_borg(fuse)
  178. return <<-EOF
  179. . ~/.bash_profile
  180. cd /vagrant/borg
  181. . borg-env/bin/activate
  182. pip install -U wheel # upgrade wheel, might be too old
  183. cd borg
  184. pip install -r requirements.d/development.lock.txt
  185. python3 scripts/make.py clean
  186. pip install -e .[#{fuse}]
  187. EOF
  188. end
  189. def install_pyinstaller()
  190. return <<-EOF
  191. . ~/.bash_profile
  192. cd /vagrant/borg
  193. . borg-env/bin/activate
  194. pip install 'pyinstaller==6.5.0'
  195. EOF
  196. end
  197. def build_binary_with_pyinstaller(boxname)
  198. return <<-EOF
  199. . ~/.bash_profile
  200. cd /vagrant/borg
  201. . borg-env/bin/activate
  202. cd borg
  203. pyinstaller --clean --distpath=/vagrant/borg scripts/borg.exe.spec
  204. echo 'export PATH="/vagrant/borg:$PATH"' >> ~/.bash_profile
  205. cd .. && tar -czvf borg.tgz borg-dir
  206. EOF
  207. end
  208. def run_tests(boxname, skip_env)
  209. return <<-EOF
  210. . ~/.bash_profile
  211. cd /vagrant/borg/borg
  212. . ../borg-env/bin/activate
  213. if which pyenv 2> /dev/null; then
  214. # for testing, use the earliest point releases of the supported python versions:
  215. pyenv global 3.9.4 3.10.2 3.11.8 3.12.0
  216. pyenv local 3.9.4 3.10.2 3.11.8 3.12.0
  217. fi
  218. # otherwise: just use the system python
  219. # avoid that git complains about dubious ownership if we use fakeroot:
  220. git config --global --add safe.directory /vagrant/borg/borg
  221. # some OSes can only run specific test envs, e.g. because they miss FUSE support:
  222. export TOX_SKIP_ENV='#{skip_env}'
  223. if which fakeroot 2> /dev/null; then
  224. echo "Running tox WITH fakeroot -u"
  225. fakeroot -u tox --skip-missing-interpreters
  226. else
  227. echo "Running tox WITHOUT fakeroot -u"
  228. tox --skip-missing-interpreters
  229. fi
  230. EOF
  231. end
  232. def fs_init(user)
  233. return <<-EOF
  234. # clean up (wrong/outdated) stuff we likely got via rsync:
  235. rm -rf /vagrant/borg/borg/.tox 2> /dev/null
  236. rm -rf /vagrant/borg/borg/borgbackup.egg-info 2> /dev/null
  237. rm -rf /vagrant/borg/borg/__pycache__ 2> /dev/null
  238. find /vagrant/borg/borg/src -name '__pycache__' -exec rm -rf {} \\; 2> /dev/null
  239. chown -R #{user} /vagrant/borg
  240. touch ~#{user}/.bash_profile ; chown #{user} ~#{user}/.bash_profile
  241. echo 'export LANG=en_US.UTF-8' >> ~#{user}/.bash_profile
  242. echo 'export LC_CTYPE=en_US.UTF-8' >> ~#{user}/.bash_profile
  243. echo 'export XDISTN=#{$xdistn}' >> ~#{user}/.bash_profile
  244. EOF
  245. end
  246. Vagrant.configure(2) do |config|
  247. # use rsync to copy content to the folder
  248. config.vm.synced_folder ".", "/vagrant/borg/borg", :type => "rsync", :rsync__args => ["--verbose", "--archive", "--delete", "--exclude", ".python-version"], :rsync__chown => false
  249. # do not let the VM access . on the host machine via the default shared folder!
  250. config.vm.synced_folder ".", "/vagrant", disabled: true
  251. config.vm.provider :virtualbox do |v|
  252. #v.gui = true
  253. v.cpus = $cpus
  254. end
  255. config.vm.define "noble64" do |b|
  256. b.vm.box = "ubuntu/noble64"
  257. b.vm.provider :virtualbox do |v|
  258. v.memory = 1024 + $wmem
  259. end
  260. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  261. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  262. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("noble64")
  263. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  264. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("noble64", ".*none.*")
  265. end
  266. config.vm.define "jammy64" do |b|
  267. b.vm.box = "ubuntu/jammy64"
  268. b.vm.provider :virtualbox do |v|
  269. v.memory = 1024 + $wmem
  270. end
  271. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  272. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  273. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("jammy64")
  274. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  275. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("jammy64", ".*none.*")
  276. end
  277. config.vm.define "bookworm64" do |b|
  278. b.vm.box = "debian/bookworm64"
  279. b.vm.provider :virtualbox do |v|
  280. v.memory = 1024 + $wmem
  281. end
  282. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  283. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  284. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("bookworm64")
  285. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("bookworm64")
  286. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("bookworm64")
  287. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  288. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  289. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("bookworm64")
  290. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("bookworm64", ".*none.*")
  291. end
  292. config.vm.define "bullseye64" do |b|
  293. b.vm.box = "debian/bullseye64"
  294. b.vm.provider :virtualbox do |v|
  295. v.memory = 1024 + $wmem
  296. end
  297. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  298. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  299. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("bullseye64")
  300. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("bullseye64")
  301. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("bullseye64")
  302. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  303. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  304. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("bullseye64")
  305. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("bullseye64", ".*none.*")
  306. end
  307. config.vm.define "buster64" do |b|
  308. b.vm.box = "debian/buster64"
  309. b.vm.provider :virtualbox do |v|
  310. v.memory = 1024 + $wmem
  311. end
  312. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  313. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  314. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("buster64")
  315. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("buster64")
  316. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("buster64")
  317. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  318. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  319. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("buster64")
  320. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("buster64", ".*none.*")
  321. end
  322. config.vm.define "freebsd64" do |b|
  323. b.vm.box = "generic/freebsd14"
  324. b.vm.provider :virtualbox do |v|
  325. v.memory = 1024 + $wmem
  326. end
  327. b.ssh.shell = "sh"
  328. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  329. b.vm.provision "packages freebsd", :type => :shell, :inline => packages_freebsd
  330. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("freebsd64")
  331. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("freebsd64")
  332. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("freebsd64")
  333. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  334. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  335. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("freebsd64")
  336. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("freebsd64", ".*(fuse3|none).*")
  337. end
  338. config.vm.define "openbsd64" do |b|
  339. b.vm.box = "generic/openbsd7"
  340. b.vm.provider :virtualbox do |v|
  341. v.memory = 1024 + $wmem
  342. end
  343. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  344. b.vm.provision "packages openbsd", :type => :shell, :inline => packages_openbsd
  345. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("openbsd64")
  346. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("nofuse")
  347. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("openbsd64", ".*fuse.*")
  348. end
  349. config.vm.define "netbsd64" do |b|
  350. b.vm.box = "generic/netbsd9"
  351. b.vm.provider :virtualbox do |v|
  352. v.memory = 4096 + $wmem # need big /tmp tmpfs in RAM!
  353. end
  354. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  355. b.vm.provision "packages netbsd", :type => :shell, :inline => packages_netbsd
  356. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("netbsd64")
  357. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg(false)
  358. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("netbsd64", ".*fuse.*")
  359. end
  360. config.vm.define "darwin64" do |b|
  361. b.vm.box = "macos-sierra"
  362. b.vm.provider :virtualbox do |v|
  363. v.memory = 4096 + $wmem
  364. v.customize ['modifyvm', :id, '--ostype', 'MacOS_64']
  365. v.customize ['modifyvm', :id, '--paravirtprovider', 'default']
  366. v.customize ['modifyvm', :id, '--nested-hw-virt', 'on']
  367. # Adjust CPU settings according to
  368. # https://github.com/geerlingguy/macos-virtualbox-vm
  369. v.customize ['modifyvm', :id, '--cpuidset',
  370. '00000001', '000306a9', '00020800', '80000201', '178bfbff']
  371. # Disable USB variant requiring Virtualbox proprietary extension pack
  372. v.customize ["modifyvm", :id, '--usbehci', 'off', '--usbxhci', 'off']
  373. end
  374. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  375. b.vm.provision "packages darwin", :type => :shell, :privileged => false, :inline => packages_darwin
  376. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("darwin64")
  377. b.vm.provision "fix pyenv", :type => :shell, :privileged => false, :inline => fix_pyenv_darwin("darwin64")
  378. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("darwin64")
  379. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("darwin64")
  380. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  381. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  382. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("darwin64")
  383. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("darwin64", ".*(fuse3|none).*")
  384. end
  385. # rsync on openindiana has troubles, does not set correct owner for /vagrant/borg and thus gives lots of
  386. # permission errors. can be manually fixed in the VM by: sudo chown -R vagrant /vagrant/borg ; then rsync again.
  387. config.vm.define "openindiana64" do |b|
  388. b.vm.box = "openindiana/hipster"
  389. b.vm.provider :virtualbox do |v|
  390. v.memory = 2048 + $wmem
  391. end
  392. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  393. b.vm.provision "packages openindiana", :type => :shell, :inline => packages_openindiana
  394. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("openindiana64")
  395. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("nofuse")
  396. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("openindiana64", ".*fuse.*")
  397. end
  398. end