From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description= Enabling and Disabling Modules in Fedora Server |setup= # Grab a Fedora Server and continue to install on a VM or Baremetal # Login from the Cock...") |
No edit summary |
||
Line 7: | Line 7: | ||
|actions= | |actions= | ||
=== Enabling Modules: === | === Enabling Modules: === | ||
# Enabling without any specific stream | # Enabling module <code> foo </code> without any specific stream | ||
<code>dnf module enable | <code>dnf module enable foo</code> | ||
# Enabling with specific stream | # Enabling module <code>foo</code> with specific stream | ||
<code>dnf module enable | <code>dnf module enable foo:stream</code> | ||
=== Disabling Modules: === | === Disabling Modules: === | ||
# Disabling without any specifc stream | # Disabling module <code>foo</code>without any specifc stream | ||
<code>dnf module disable | <code>dnf module disable foo</code> | ||
# Disabling with a specific stream | # Disabling module <code>foo</code> with a specific stream | ||
<code>dnf module disable | <code>dnf module disable foo:stream </code> | ||
|results= | |results= | ||
The commands execute without error | The commands execute without error | ||
# The first command prints | # The first command prints "foo is enabled". | ||
# The second command prints <foo> is disabled | # The second command prints <foo> is disabled | ||
|optional=Optionally provide hints for exploratory testing. | |optional=Optionally provide hints for exploratory testing. | ||
}} | }} |
Revision as of 17:26, 9 April 2018
Description
Enabling and Disabling Modules in Fedora Server
Setup
- Grab a Fedora Server and continue to install on a VM or Baremetal
- Login from the Cockpit Web-UI or server with the created user or root
- Check all available module here
How to test
Enabling Modules:
- Enabling module
foo
without any specific stream
dnf module enable foo
- Enabling module
foo
with specific stream
dnf module enable foo:stream
Disabling Modules:
- Disabling module
foo
without any specifc stream
dnf module disable foo
- Disabling module
foo
with a specific stream
dnf module disable foo:stream
Expected Results
The commands execute without error
- The first command prints "foo is enabled".
- The second command prints <foo> is disabled
Optional
Optionally provide hints for exploratory testing.