Blame tests/p_libvirt/0-install_libvirt.sh

Athmane Madjoudj 765ebf
#!/bin/bash
Athmane Madjoudj 765ebf
# Author: Athmane Madjoudj <athmanem@gmail.com>
40b4c8
40b4c8
if [ "$CONTAINERTEST" -eq "1" ]; then
40b4c8
    t_Log "Running in container -> SKIP"
40b4c8
    exit 0
40b4c8
fi
40b4c8
dbfc54
if (t_GetArch | grep -qE 'aarch64')
dbfc54
  then
dbfc54
  echo "Package not included with AArch64, skipping"
dbfc54
  exit 0
dbfc54
fi
Athmane Madjoudj 765ebf
Karanbir Singh 106bcf
t_Log "Running $0 - installing libvirt"
Athmane Madjoudj 765ebf
t_InstallPackage  libvirt
Athmane Madjoudj 56ba2f
service libvirtd restart