From Fedora Project Wiki

No edit summary
No edit summary
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 <foo> is disabled
# 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

  1. Grab a Fedora Server and continue to install on a VM or Baremetal
  2. Login from the Cockpit Web-UI or server with the created user or root
  3. Check all available module here

How to test

Enabling Modules:

  1. Enabling module foo with specific stream and profile
   dnf module enable foo:stream
   dnf module enable foo:stream/profile 

Disabling Modules:

  1. 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

  1. The first command prints "foo:stream is enabled".
  2. The second command prints "foo:stream/profile is enabled"
  3. The third command prints "foo:stream is disbaled"
  4. The fourth command prints "foo:stream/profile is disabled"

Optional

Try entering random profile names