ynh-dev/prebuild
Alexandre Aubin 220baef21d rm old file
2018-09-04 17:01:54 +02:00
..
prebuild.sh Zblerg³ 2018-09-04 00:15:58 +02:00
README.md Zblerg² 2018-09-03 23:10:38 +02:00
Vagrantfile Zblerg² 2018-09-03 23:10:38 +02:00

Build your own YunoHost Vagrant box

Get Debian base boxes

vagrant box add debian/stretch64

Build YunoHost boxes

Download the vagrant file to build from debian boxes

wget https://raw.githubusercontent.com/YunoHost/Vagrantfile/master/prebuild/Vagrantfile

Run your homemade boxes

Run the box you need by calling vagrant up DEBIAN_CODENAME-YUNOHOST_VERSION

vagrant up stretch-unstable --provider lxc
  • DEBIAN_CODENAME: jessie or stretch
  • DISTRIB: unstable.

You can now log into your box with vagrant ssh stretch-unstable

Package your own boxes

You can package it to use it more quickly later:

vagrant up stretch-unstable --provider lxc
vagrant package stretch-unstable  --output ./my-yunohost-stretch-unstable-lxc.box --provider lxc
vagrant box add my-yunohost/stretch-unstable ./my-yunohost-stretch-unstable-lxc.box --provider lxc