mirror of
https://github.com/balena-io/open-balena.git
synced 2024-12-18 21:27:52 +00:00
vagrant: Add missing Node dependency
Signed-off-by: Rich Bayliss <rich@balena.io> Change-type: patch
This commit is contained in:
parent
0842b7b4ae
commit
011f3a35f9
3
Vagrantfile
vendored
3
Vagrantfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user