Confirmed users
1,927
edits
| Line 19: | Line 19: | ||
=== Installing and running the BMO Vagrant box === | === Installing and running the BMO Vagrant box === | ||
* Create following file called 'Vagrantfile' in a directory by itself. | * Create following file called 'Vagrantfile' in a directory by itself. If you have a previously installed box, you may have to change the box name (config.vm.box) to something unique (e.g. append a timestamp) so that the new box is downloaded. | ||
Vagrant.configure("2") do |config| | Vagrant.configure("2") do |config| | ||
config.vm.box = " | config.vm.box = "bmo" | ||
config.vm.box_url = "https://people.mozilla.com/~dkl/bugzilla.box" | config.vm.box_url = "https://people.mozilla.com/~dkl/bugzilla.box" | ||
end | end | ||
| Line 31: | Line 30: | ||
$ vagrant up | $ vagrant up | ||
* If you are getting errors downloading the file, you can download it separately. I suggest using "wget -c", which will resume an interrupted transfer. Then change the config.vm.box_url value to the path | * If you are getting errors downloading the box file, you can download it separately. In OS X or Linux, I suggest using "wget -c https://people.mozilla.com/~dkl/bugzilla.box" from the command line, which will resume an interrupted transfer. Then change the config.vm.box_url value to the path of the downloaded box, with no protocol, i.e., do not start it with "file://". You can verify the downloaded file's md5sum against http://people.mozilla.org/~dkl/bugzilla.box.md5 to be sure it downloaded properly before bringing the box up. | ||
* The following will log you into the VM over SSH and drop you into the 'vagrant' user's home directory. | * The following will log you into the VM over SSH and drop you into the 'vagrant' user's home directory. | ||