From fb003dff24b922e3fa02c1157ab427d03e4461f3 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Tue, 11 Feb 2020 10:26:49 +0100 Subject: Use sudo in integration-install-vagrant builder Change-Id: I7d244f2cc4043a3132e4e34f3b2f56432f97eaa6 Signed-off-by: Bartek Grzybowski Issue-ID: INT-1434 --- jjb/integration/integration-macros.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jjb/integration') diff --git a/jjb/integration/integration-macros.yaml b/jjb/integration/integration-macros.yaml index 677e7e0bd..aeb793f6f 100644 --- a/jjb/integration/integration-macros.yaml +++ b/jjb/integration/integration-macros.yaml @@ -59,9 +59,9 @@ - shell: | #!/bin/bash set -ex # Fail build if any setup step fails - add-apt-repository --yes ppa:tiagohillebrandt/vagrant - apt update - apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant + sudo add-apt-repository --yes ppa:tiagohillebrandt/vagrant + sudo apt update + sudo apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant vagrant plugin install vagrant-libvirt vagrant plugin install vagrant-disksize mkdir -p ~/.ssh -- cgit 1.2.3-korg