salt.modules.kmod

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »

# salt.modules.kmod

Module to manage Linux kernel modules

`salt.modules.kmod.` `available`()

  Return a list of all available kernel modules

  CLI Example:

      salt '*' kmod.available

`salt.modules.kmod.` `check_available`(mod)

  Check to see if the specified kernel module is available

  CLI Example:

      salt '*' kmod.check_available kvm

`salt.modules.kmod.` `load`(mod)

  Load the specified kernel module

  CLI Example:

      salt '*' kmod.load kvm

`salt.modules.kmod.` `lsmod`()

  Return a dict containing information about currently loaded modules

  CLI Example:

      salt '*' kmod.lsmod

`salt.modules.kmod.` `mod_list`()

  Return a list of the loaded module names

  CLI Example:

      salt '*' kmod.mod_list

`salt.modules.kmod.` `remove`(mod)

  Remove the specified kernel module

  CLI Example:

      salt '*' kmod.remove kvm

## Comments

comments powered by Disqus

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »