2 if apt --version 2>1 >/dev/null; then
3 if ! createrepo --version 2>1 >/dev/null; then
5 sudo apt install -y createrepo libguestfs-tools jq libvirt-daemon-system
8 sudo yum -y install createrepo libguestfs-tools-c jq
10 sudo systemctl start libvirtd
11 systemctl status libvirtd