vagrant: Add missing Node dependency

Signed-off-by: Rich Bayliss <rich@balena.io>
Change-type: patch
This commit is contained in:
Rich Bayliss 2019-01-10 10:33:15 +00:00
parent 0842b7b4ae
commit 011f3a35f9
No known key found for this signature in database
GPG Key ID: E53C4B4D18499E1A

3
Vagrantfile vendored
View File

@ -26,6 +26,9 @@ Vagrant.configure('2') do |config|
touch /home/vagrant/.bashrc
grep -Fxq 'source /home/vagrant/openbalena/.openbalenarc' /home/vagrant/.bashrc || echo 'source /home/vagrant/openbalena/.openbalenarc' >> /home/vagrant/.bashrc
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
source "/home/vagrant/.nvm/nvm.sh" # This loads nvm
nvm install 10.15.0 && nvm use 10.15.0
SCRIPT
config.vm.provision :shell, privileged: false, inline: $provision