Revert "CI: Rename global-settings to mvn-glob..."
[ci-management.git] / jjb / shell / ta-install-build-tools.sh
1 #!/bin/bash -ex
2 if apt --version 2>1 >/dev/null; then
3     if ! createrepo --version 2>1 >/dev/null; then
4         sudo apt update
5         sudo apt install -y createrepo libguestfs-tools jq libvirt-daemon-system
6     fi
7 else
8     sudo yum -y install createrepo libguestfs-tools-c jq
9 fi
10 sudo systemctl start libvirtd
11 systemctl status libvirtd