salt.modules.kmod

Module to manage Linux kernel modules

Members

available

salt.modules.kmod.available()

Return a list of all available kernel modules

CLI Example:

salt '*' kmod.available

check_available

salt.modules.kmod.check_available(mod)

Check to see if the specified kernel module is available

CLI Example:

salt '*' kmod.check_available kvm

load

salt.modules.kmod.load(mod)

Load the specified kernel module

CLI Example:

salt '*' kmod.load kvm

lsmod

salt.modules.kmod.lsmod()

Return a dict containing information about currently loaded modules

CLI Example:

salt '*' kmod.lsmod

remove

salt.modules.kmod.remove(mod)

Remove the specified kernel module

CLI Example:

salt '*' kmod.remove kvm

Parent topic

Table Of Contents

Previous topic

salt.modules.hosts

Next topic

salt.modules.kvm_hyper