vagrant: Get rid of apt warning during provisioning

Use apt-get instead of apt as apt does not have stable command line API yet.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati 2018-10-08 11:06:38 -07:00 committed by James Valleroy
parent 9d6a706b10
commit 8c89756b63
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

6
Vagrantfile vendored
View File

@ -22,8 +22,8 @@ Vagrant.configure(2) do |config|
config.vm.provision "shell", inline: <<-SHELL
cd /vagrant/
./setup.py install
apt update
DEBIAN_FRONTEND=noninteractive apt install -y $(plinth --list-dependencies)
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y $(plinth --list-dependencies)
systemctl daemon-reload
SHELL
config.vm.provision "shell", run: 'always', inline: <<-SHELL
@ -33,7 +33,7 @@ Vagrant.configure(2) do |config|
# Disable automatic upgrades
/vagrant/actions/upgrades disable-auto
# Install ncurses-term
DEBIAN_FRONTEND=noninteractive apt install -y ncurses-term
DEBIAN_FRONTEND=noninteractive apt-get install -y ncurses-term
SHELL
config.vm.post_up_message = "FreedomBox virtual machine is ready
for development. You can run the development version of Plinth using