summaryrefslogtreecommitdiff
path: root/community/libvirt/libvirt.install
blob: b75d85ec8f2f8f905be094a2b4d2295abf145b0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
_libvirt_setup() {
  systemd-tmpfiles --create libvirt.conf
}

post_install() {
  _libvirt_setup || return 1
  echo ">>>  See https://wiki.archlinux.org/index.php/Libvirt for more info"
}

post_upgrade() {
  _libvirt_setup || return 1
  echo ">>> You may need to run 'rm -rf ~/.libvirt'"
  echo ">>> libvirt runs qemu from nobody:nobody by default"
  echo ">>> change it in /etc/libvirt/qemu.conf"
}