Skip to content

Commit

Permalink
seapath_vm_definition_example.yml: add disk_extract documentation
Browse files Browse the repository at this point in the history
The disk_extract variable is used to extract a gzipped image disk.

Signed-off-by: Benjamin Chedotel <[email protected]>
  • Loading branch information
bchedotel committed Mar 6, 2024
1 parent fe7a3cf commit 142e77c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion inventories/seapath_vm_definition_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ all:
children:
VMs:
hosts:
guest:
guest1:
description: "example VM"
ansible_host: 192.168.212.131 # Update the VM IP
vm_template: "../templates/vm/guest.xml.j2"
Expand Down Expand Up @@ -34,6 +34,19 @@ all:
sriov:
- sriov_pool1
- sriov_pool2
guest2:
description: "Simple VM with gzipped disk"
ansible_host: 192.168.212.132 # Update the VM IP
vm_template: "../templates/vm/guest.xml.j2"
vm_disk: "../vm_images/guest.img.gz"
disk_extract: true
local_disk:
- disk_file: guest2.qcow2
vm_features: []
preferred_host: pc3 # Optional
bridges:
- name: "br0" # Change the bridge name
mac_address: "52:54:00:c4:ff:05" # change the MAC address
vars:
ansible_user: virtu
apply_network_config: true
Expand All @@ -53,6 +66,7 @@ all:
# vm-manager)
# ** disk_file: name of the disk, note that you must give the same name as
# the vm name.
# * disk_extract: if the disk image is gzipped, set the value to true.
# * vm_features: the VM feature (list). Can contained one or more of the
# following items.
# ** isolated: to enable CPU pinning
Expand Down

0 comments on commit 142e77c

Please sign in to comment.