mirror of
https://github.com/balena-io/open-balena.git
synced 2025-04-05 18:16:51 +00:00
Run project commands unprivileged during provisioning
This commit is contained in:
parent
b2e31e2372
commit
4805017688
8
Vagrantfile
vendored
8
Vagrantfile
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user