3e477b013c59e46f25e66c8863b66e96d935d0a1
[icn.git] / deploy / metal3-vm / vm-setup / roles / libvirt / defaults / main.yml
1 # When libvirt_action==teardown we destroy the existing configuration
2 libvirt_action: setup
3
4 # For some baremetal testing we set this to "baremetal" so that only the
5 # libvirt networking is configured, not the nodes
6 vm_platform: libvirt
7
8 # Which libvirt session should we use?  Using `qemu://session` does
9 # not require privileged access (but does require the setup performed by the
10 # `environment/setup` role).
11 libvirt_volume_pool: oooq_pool
12 libvirt_domain_type: kvm
13 libvirt_diskdev: sda
14 libvirt_diskbus: scsi
15 libvirt_arch: x86_64
16 libvirt_cpu_mode: host-model
17
18 # how many disks should be created when using extradisks
19 extradisks_list:
20   - vdb
21
22 # size of the disks to create when using extradisks
23 extradisks_size: 8G
24
25 # The packages required to set up our desired libvirt environment.
26 # (Tested on Centos 7)
27 libvirt_packages:
28   - qemu-kvm
29   - libvirt
30   - libvirt-python
31   - libguestfs-tools
32   - python-lxml
33   - polkit-pkla-compat
34   - python-netaddr
35   - python2-virtualbmc
36
37 # We expect virtualbmc to already be installed on rhel8 as a pre-req to running this,
38 # as there's no rhel package available yet.
39 libvirt_packages_rhel8:
40   - qemu-kvm
41   - libvirt
42   - python3-libvirt
43   - libguestfs-tools
44   - python3-lxml
45   - polkit-pkla-compat
46   - python3-netaddr
47
48 ubuntu_libvirt_packages:
49   - qemu-kvm
50   - libvirt-bin
51   - libvirt-clients
52   - libvirt-dev
53   - python3-libvirt
54   - libguestfs-tools
55   - python3-lxml
56   - gir1.2-polkit-1.0
57   - libpolkit-agent-1-0
58   - libpolkit-backend-1-0
59   - libpolkit-gobject-1-0
60
61
62 # The name of the libvirt service.
63 libvirtd_service: libvirtd