summaryrefslogtreecommitdiff
path: root/strata/virtualization/libvirt.morph
blob: bdc99ddf77008f588213d016a3a97906705158b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: libvirt
kind: chunk
build-system: autotools
configure-commands:
- |
  GNULIB_SRCDIR=.gnulib \
  ./autogen.sh \
  --without-apparmor --with-attr --without-audit --without-avahi --with-blkid \
  --without-capng --with-curl --with-dbus --with-fuse --without-glusterfs \
  --without-hal --without-netcf --without-numactl --without-openwsman \
  --with-pciaccess --without-readline --without-sanlock --without-sasl \
  --without-selinux --without-ssh2 --with-systemd-daemon --with-udev \
  --with-yajl --without-xen --with-qemu --without-uml --without-openvz \
  --without-vmware --without-phyp --without-xenapi --without-libxl \
  --without-vbox --without-lxc --without-esx --without-hyperv \
  --without-parallels --with-test --with-remote --with-libvirtd \
  --with-init-script=systemd --without-bhyve --without-gnutls --without-polkit \
  --without-firewalld --without-dtrace --without-numad --with-network \
  --with-secrets --with-storage-dir --with-storage-fs --with-storage-lvm \
  --without-storage-iscsi --without-storage-scsi --without-storage-mpath \
  --without-storage-disk --with-storage-rbd --without-storage-sheepdog \
  --without-storage-gluster --without-wireshark-dissector --disable-werror \
  --prefix="$PREFIX"
system-integration:
  libvirt-misc:
    01-addgroup:
    - groupadd libvirt
    02-setup_libvirtconf:
    - sed -i 's/#unix_sock_group = "libvirt"/unix_sock_group = "libvirt"/' /etc/libvirt/libvirtd.conf
    - sed -i 's/#unix_sock_rw_perms = "0770"/unix_sock_rw_perms = "0770"/' /etc/libvirt/libvirtd.conf
    - sed -i 's/#unix_sock_ro_perms = "0777"/unix_sock_ro_perms = "0777"/' /etc/libvirt/libvirtd.conf