Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. libvirt-bin:
  2. pkg.installed: []
  3. file.line:
  4. - name: /etc/default/libvirt-bin
  5. - mode: replace
  6. - match: 'libvirtd_opts="-d"'
  7. - content: 'libvirtd_opts="-d -l"'
  8. - require:
  9. - pkg: libvirt-bin
  10. virt.keys:
  11. - require:
  12. - pkg: libvirt-bin
  13.  
  14. /etc/libvirt/libvirtd.conf:
  15. file.managed:
  16. - source: salt://files/libvirtd.conf
  17.  
  18. service.running:
  19. - name: libvirt-bin
  20. - enable: True
  21. - watch:
  22. - file: /etc/libvirt/libvirtd.conf
  23.  
  24. python-libvirt:
  25. pkg.installed: []
  26.  
  27. Additional Packages:
  28. pkg.installed:
  29. - pkgs:
  30. - libguestfs-tools
  31. - virtinst
  32. - virt-viewer
  33. - virt-manager
  34. - virt-what
  35.  
  36. #Add storage pool to libvirt
  37. salt://scripts/salt-pool.sh:
  38. cmd.script:
  39. - unless: virsh pool-info SaltPool
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement