Skip to content

Commit

Permalink
docs: update the samples used in osbuild.1.rst
Browse files Browse the repository at this point in the history
The file `./samples/base-qcow2.json` used in the osbuild.1.rst
man-page does no longer exists. It was removed in e92b409 and
`samples` is now a symlink into the test data. The closest in
the test data to the original `base-qcow2.json` seems to be
the `fedora-boot.json` so this is now used in the examples
section.

This removes the references to `./samples/base-rpm-qcow2.json`
which was remove in fe95d93. Here `fedora-boot.json` is also
used.
  • Loading branch information
mvo5 committed Sep 13, 2023
1 parent 4e2f17b commit 68ee9bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/osbuild.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,16 @@ produces no output:
| # echo {} | osbuild -
|
Example 1: Build a Fedora 30 qcow2 image
Example 1: Build a Fedora 34 qcow2 image
----------------------------------------

To build a basic qcow2 image of Fedora 30, use:
To build a basic qcow2 image of Fedora 34, use:

|
| # osbuild ./samples/base-qcow2.json
| # osbuild ./samples/fedora-boot.json
|
The pipeline definition ``./samples/base-rpm-qcow2.json`` is provided in the
The pipeline definition ``./samples/fedora-boot.json`` is provided in the
upstream source repository of **osbuild**.

Example 2: Run from a local checkout
Expand All @@ -143,7 +143,7 @@ Example 2: Run from a local checkout
To run **osbuild** from a local checkout, use:

|
| # python3 -m osbuild --libdir . samples/base-rpm-qcow2.json
| # python3 -m osbuild --libdir . samples/fedora-boot.json
|
This will make sure to execute the **osbuild** module from the current
Expand Down

0 comments on commit 68ee9bf

Please sign in to comment.