Skip to content

files: add step to write file content with cleanup

Vladimír Beneš requested to merge vb/sriov_nmstate into main

You can easily write file with step like this:

  • Write file "/tmp/many-vfs.yaml" with content """ interfaces:
    • name: p4p1 type: ethernet state: up ethernet: sr-iov: total-vfs: 45 """

The file will be removed in cleanup phase.

Merge request reports

Loading