diff options
author | Ruijing Guo <ruijing.guo@intel.com> | 2017-11-30 05:18:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-11-30 05:18:11 +0000 |
commit | 63717400ae46c430b62c0f73c8ee7c5afa415213 (patch) | |
tree | ba986667d3e1606d2788c048624721e7a7a691df /ci/setup_ci.sh | |
parent | 85999db47c5f2292968c91184021bd220c7cd246 (diff) | |
parent | 26013163411b419fcf60866d61a028c62737e282 (diff) |
Merge "build vagrant/libvirt box"
Diffstat (limited to 'ci/setup_ci.sh')
-rwxr-xr-x | ci/setup_ci.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ci/setup_ci.sh b/ci/setup_ci.sh new file mode 100755 index 0000000..f2e352f --- /dev/null +++ b/ci/setup_ci.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +echo "Please run it by jenkins account!" +cat << EOF | sudo tee /etc/sudoers.d/${USER} +${USER} ALL = (root) NOPASSWD:ALL +EOF +sudo apt-get update > /dev/null +sudo apt install -y qemu-kvm libvirt-bin 2>1 /dev/null +echo "Plsease reboot/logout to make effective for libvirt group adding" |