diff --git a/Vagrantfile b/Vagrantfile index ee3151f..a2df48e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -25,6 +25,10 @@ Vagrant.configure('2') do |config| # FIXME: remove `docker login` config.vm.provision :shell, inline: "docker login --username resindev --password #{ENV.fetch('DOCKERHUB_PASSWORD')}" - config.vm.provision :shell, inline: "cd /home/vagrant/open-balena && ./scripts/start-project #{ENV.fetch('OPENBALENA_PROJECT_NAME', '')} #{ENV.fetch('OPENBALENA_HOST_NAME', '')}" - config.vm.provision :shell, inline: 'cd /home/vagrant/open-balena && ./scripts/run-fig-command up -d', run: 'always' + + config.vm.provision :shell, privileged: false, + inline: "cd /home/vagrant/open-balena && ./scripts/start-project #{ENV.fetch('OPENBALENA_PROJECT_NAME', '')} #{ENV.fetch('OPENBALENA_HOST_NAME', '')}" + config.vm.provision :shell, privileged: false, + inline: 'cd /home/vagrant/open-balena && ./scripts/run-fig-command up -d', + run: 'always' end