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> without any specific stream
  <code>dnf module enable foo</code>
# Enabling module <code>foo</code> with specific stream
# Enabling module <code>foo</code> with specific stream
  <code>dnf module enable foo:stream</code>
    <code>dnf module enable foo:stream</code>


=== Disabling Modules: ===
=== Disabling Modules: ===
# Disabling module <code>foo</code>without any specifc stream
      <code>dnf module disable foo</code>
# Disabling module <code>foo</code> with a specific stream  
# Disabling module <code>foo</code> with a specific stream  
    <code>dnf module disable foo:stream </code>
    <code>dnf module disable foo:stream </code>
    
    


|results=
|results=
The commands execute without error  
The commands execute without error  
# The first command prints "foo 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=Optionally provide hints for exploratory testing.
|optional=Optionally provide hints for exploratory testing.
}}
}}

Revision as of 18:04, 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
   dnf module enable foo:stream

Disabling Modules:

  1. Disabling module foo with a specific stream
   dnf module disable foo:stream 

Expected Results

The commands execute without error

  1. The first command prints "foo:stream is enabled".
  2. The second command prints <foo> is disabled

Optional

Optionally provide hints for exploratory testing.