From bb2078f3685a415d093f4c718bb286874ca1db97 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 29 Jan 2021 19:20:48 +0000 Subject: [PATCH] ci: upgrade vagrant and Fedora version The updates to the latest Vagrant version and from Fedora 32 to 33. Also using --no-tty instead of > /dev/null for vagrant up. Also run 'dnf upgrade -y' in out vagrant VM to get the latest kernel. Signed-off-by: Adrian Reber --- scripts/ci/vagrant.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/ci/vagrant.sh b/scripts/ci/vagrant.sh index a23a37175..3dc79dd83 100755 --- a/scripts/ci/vagrant.sh +++ b/scripts/ci/vagrant.sh @@ -6,9 +6,9 @@ set -e set -x -VAGRANT_VERSION=2.2.10 -FEDORA_VERSION=32 -FEDORA_BOX_VERSION=32.20200422.0 +VAGRANT_VERSION=2.2.14 +FEDORA_VERSION=33 +FEDORA_BOX_VERSION=33.20201019.0 setup() { if [ -n "$TRAVIS" ]; then @@ -54,9 +54,10 @@ setup() { rm -f /sbin/ip6tables cp /bin/true /sbin/ip6tables fi - vagrant up --provider=libvirt > /dev/null + vagrant up --provider=libvirt --no-tty mkdir -p /root/.ssh vagrant ssh-config >> /root/.ssh/config + ssh default sudo dnf upgrade -y ssh default sudo dnf install -y gcc git gnutls-devel nftables-devel libaio-devel \ libasan libcap-devel libnet-devel libnl3-devel make protobuf-c-devel \ protobuf-devel python3-flake8 python3-future python3-protobuf \