From Fedora Project Wiki
Line 9: | Line 9: | ||
# Enabling module <code>foo</code> with specific stream and profile | # 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> | + | <code>dnf module enable foo:stream/profile </code> |
=== Disabling Modules: === | === Disabling Modules: === | ||
# Disabling module <code>foo</code> with a specific stream and profile | # 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> | + | <code>dnf module disable foo:stream/profile </code> |
Line 19: | Line 19: | ||
The commands execute without error | The commands execute without error | ||
# The first command prints "foo:stream is enabled". | # The first command prints "foo:stream is enabled". | ||
− | # The second command prints | + | # The second command prints "foo:stream/profile is enabled" |
+ | # The third command prints "foo:stream is disbaled" | ||
+ | # The fourth command prints "foo:stream/profile is disabled" | ||
|optional= Try entering random profile names | |optional= Try entering random profile names | ||
}} | }} |
Revision as of 18:09, 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:stream/profile is enabled"
- The third command prints "foo:stream is disbaled"
- The fourth command prints "foo:stream/profile is disabled"
Optional
Try entering random profile names