mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-22 10:01:45 +00:00
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:
parent
9d6a706b10
commit
8c89756b63
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user