Skip to content

Commit

Permalink
Add the --no-add-tmt-dependencies option as well
Browse files Browse the repository at this point in the history
This is needed to actually allow disabling the flag from the
command ine as it is `True` by default.
  • Loading branch information
psss committed Nov 21, 2024
1 parent e111bab commit 21ae57d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tmt/steps/provision/bootc.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ class BootcData(tmt.steps.provision.testcloud.ProvisionTestcloudData):
metavar='CONTAINER_IMAGE',
help="""
Select container image to be used to build a bootc disk.
This takes priority over container-file.
This takes priority over Containerfile.
""")

add_tmt_dependencies: bool = field(
default=True,
is_flag=True,
option=('--add-tmt-dependencies'),
option=('--add-tmt-dependencies/--no-add-tmt-dependencies'),
help="""
Add tmt dependencies to the supplied container image or image built
from the supplied Containerfile.
Expand Down Expand Up @@ -149,7 +149,7 @@ class ProvisionBootc(tmt.steps.provision.ProvisionPlugin[BootcData]):
how: bootc
container-image: quay.io/centos-bootc/centos-bootc:stream9
Here's a config example using a containerfile:
Here's a config example using a Containerfile:
.. code-block:: yaml
Expand Down

0 comments on commit 21ae57d

Please sign in to comment.