Skip to content

Commit

Permalink
tmt: use different disk size syntax
Browse files Browse the repository at this point in the history
For some reason the previous syntax to specify the size for the
virtual machine provider [0] stopped working. This commit now
uses the syntax described in [1] instead which seems to work.

[0] https://tmt.readthedocs.io/en/stable/spec/plans.html#virtual
[1] https://tmt.readthedocs.io/en/stable/spec/hardware.html#disk
  • Loading branch information
mvo5 authored and achilleas-k committed May 3, 2024
1 parent 014af19 commit ddf2ca0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plans/all.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ summary: Run all tests inside a VM environment
provision:
how: virtual
image: fedora:40
# 120 means 120GB, disk has to be specificed here, the format from:
# https://tmt.readthedocs.io/en/stable/spec/hardware.html#disk
# does not work here or below under "hardware"
disk: 120
hardware:
virtualization:
is-supported: true
disk:
- size: '>= 120 GB'
prepare:
how: install
package:
Expand Down

0 comments on commit ddf2ca0

Please sign in to comment.