summaryrefslogtreecommitdiffstats
path: root/ci/setup_ci.sh
blob: 4bf357a9a3a0e0f7ada8dc7cd4adf25a243d956a (plain)
1
2
3
4
5
6
7
8
9
10
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
../src/vagrant/setup_vagrant.sh
echo "###########################################################"
echo "Please reboot to make effective for libvirt group adding!!!"