From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
|actions= | |actions= | ||
=== Enabling Modules: === | === Enabling Modules: === | ||
# Enabling module <code>foo</code> with specific stream | # Enabling module <code>foo</code> with specific stream and profile | ||
<code>dnf module enable foo:stream</code> | <code>dnf module enable foo:stream</code> | ||
<code> dnf module enable foo:stream/profile </code> | |||
=== Disabling Modules: === | === Disabling Modules: === | ||
# Disabling module <code>foo</code> with a specific stream | # Disabling module <code>foo</code> with a specific stream and profile | ||
<code>dnf module disable foo:stream </code> | <code>dnf module disable foo:stream </code> | ||
<code> dnf module disable foo:stream/profile </code> | |||
Line 19: | Line 20: | ||
# The first command prints "foo:stream is enabled". | # The first command prints "foo:stream is enabled". | ||
# The second command prints <foo> is disabled | # The second command prints <foo> is disabled | ||
|optional= | |optional= Try entering random profile names | ||
}} | }} |
Revision as of 18:06, 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
with specific stream and profile
dnf module enable foo:stream
dnf module enable foo:stream/profile
Disabling Modules:
- Disabling module
foo
with a specific stream and profile
dnf module disable foo:stream
dnf module disable foo:stream/profile
Expected Results
The commands execute without error
- The first command prints "foo:stream is enabled".
- The second command prints <foo> is disabled
Optional
Try entering random profile names