mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
45 lines
1011 B
Plaintext
45 lines
1011 B
Plaintext
#libvirt_source-packages_dir:
|
|
# file.directory:
|
|
# - name: /opt/so/conf/libvirt/source-packages
|
|
|
|
install_libvirt-libs:
|
|
pkg.installed:
|
|
- name: libvirt-libs
|
|
|
|
# provides virsh
|
|
install_libvirt-client:
|
|
pkg.installed:
|
|
- name: libvirt-client
|
|
|
|
# allows for creating vm images
|
|
# any node manipulating images needs this
|
|
install_qemu-img:
|
|
pkg.installed:
|
|
- name: qemu-img
|
|
|
|
install_guestfs-tools:
|
|
pkg.installed:
|
|
- name: guestfs-tools
|
|
|
|
install_xorriso:
|
|
pkg.installed:
|
|
- name: xorriso
|
|
|
|
install_virt-install:
|
|
pkg.installed:
|
|
- name: virt-install
|
|
###
|
|
|
|
libvirt_python_wheel:
|
|
file.recurse:
|
|
- name: /opt/so/conf/libvirt/source-packages/libvirt-python
|
|
- source: salt://libvirt/source-packages/libvirt-python
|
|
- makedirs: True
|
|
- clean: True
|
|
|
|
libvirt_python_module:
|
|
cmd.run:
|
|
- name: /opt/saltstack/salt/bin/python3 -m pip install --no-index --find-links=/opt/so/conf/libvirt/source-packages/libvirt-python libvirt-python
|
|
- onchanges:
|
|
- file: libvirt_python_wheel
|