Fix Vagrantfile

- Uncomment Ubuntu upgrade/update lines. On Sept. 30th 2021
ca-certificates DST Root CA X3 expired, until a new Bento box with
the update is released we need to update it.

- Purge simplejson before to stack Devstack, that library should
be handled by pip.

Change-Id: If23af3415be43bcb0b5b5de284c3b809c30de453
This commit is contained in:
Martin Chacon Piza 2021-10-01 16:26:59 +02:00
parent a5af839d72
commit a9f84a0263
1 changed files with 3 additions and 2 deletions

View File

@ -39,8 +39,8 @@ Vagrant.configure(2) do |config|
end
config.vm.provision "shell", privileged: false, inline: <<-SHELL
# sudo apt-get update
# sudo apt-get -y upgrade
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install git lnav
if [ $http_proxy ]; then
@ -190,6 +190,7 @@ enable_plugin monasca-api https://opendev.org/openstack/monasca-api
enable_plugin monasca-tempest-plugin https://opendev.org/openstack/monasca-tempest-plugin
' > local.conf
sudo apt purge -y python3-simplejson
./stack.sh
# Cache downloaded files for future runs
if [ -d "/tmp/vagrant-cache" ]; then