From Fedora Project Wiki
No edit summary |
m (Lruzicka moved page User:Sumantrom/Draft/dnf enable disable module to User:Lruzicka/Draft/dnf enable disable module: A change of assignees.) |
(No difference)
|
Revision as of 08:56, 31 July 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