mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
vagrant: Switch to /freedombox before running service with alias
Closes: #2319. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
e80f07250b
commit
24d2401e24
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -36,7 +36,7 @@ Vagrant.configure(2) do |config|
|
|||||||
apt-mark unhold freedombox
|
apt-mark unhold freedombox
|
||||||
# Install ncurses-term
|
# Install ncurses-term
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y ncurses-term
|
DEBIAN_FRONTEND=noninteractive apt-get install -y ncurses-term
|
||||||
echo 'alias freedombox-develop="sudo -u plinth /freedombox/run --develop"' >> /home/vagrant/.bashrc
|
echo 'alias freedombox-develop="cd /freedombox; sudo -u plinth /freedombox/run --develop"' >> /home/vagrant/.bashrc
|
||||||
SHELL
|
SHELL
|
||||||
config.vm.provision "tests", run: "never", type: "shell", path: "plinth/tests/functional/install.sh"
|
config.vm.provision "tests", run: "never", type: "shell", path: "plinth/tests/functional/install.sh"
|
||||||
config.vm.post_up_message = "FreedomBox virtual machine is ready
|
config.vm.post_up_message = "FreedomBox virtual machine is ready
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user