1 # Using oi-userland with Vagrant
3 oi-userland includes Vagrantfile, which allows contributing from non-OpenIndiana
4 platforms such as Mac OS X, Linux or Windows. Currently, only the VirtualBox
5 provider is supported. Vagrant is suitable for cases when you don't have access to OpenIndiana host and want to develop/contribute to oi-userland.
9 * Download Vagrant from the official [download site](https://www.vagrantup.com/downloads.html). Select a version for your platform. We recommend to use the latest version.
10 * Download VirtualBox from the official [download site](https://www.virtualbox.org/wiki/Downloads). We recommend to always use the latest VirtualBox.
11 * Run the following commands:
14 git clone https://github.com/OpenIndiana/oi-userland.git && \
21 * Download Vagrant from the official [download site](https://www.vagrantup.com/downloads.html). Select a version for your platform. We recommend to use the latest version.
22 * Download VirtualBox from the official [download site](https://www.virtualbox.org/wiki/Downloads). We recommend to use always the latest VirtualBox.
23 * Fork the [oi-userland repository](https://github.com/OpenIndiana/oi-userland.git) on Github.
24 * Clone your oi-userland repository somewhere:
27 git clone https://github.com/<username>/oi-userland.git oi-userland
30 * Configure remote repository, so you can fetch updates easily:
33 git remote add upstream https://github.com/OpenIndiana/oi-userland.git
36 Updates are fetched with the following commands:
39 git pull --rebase upstream oi/hipster
42 * Start the VM by running:
48 This might take a while as build utilities will be download and oi-userland configured.
50 * Once the VM is online, enter it:
56 * When finished, exit the machine and halt down the machine:
62 * To destroy the machine, run:
68 ## Vagrant box updates
70 Vagrant box is configured to check for updates and if a new update is available,
71 Vagrant will display the notice.