Module to manage FreeBSD kernel modules
salt.modules.freebsdkmod.
available
()¶Return a list of all available kernel modules
CLI Example:
salt '*' kmod.available
salt.modules.freebsdkmod.
check_available
(mod)¶Check to see if the specified kernel module is available
CLI Example:
salt '*' kmod.check_available vmm
salt.modules.freebsdkmod.
is_loaded
(mod)¶Check to see if the specified kernel module is loaded
CLI Example:
salt '*' kmod.is_loaded vmm
salt.modules.freebsdkmod.
load
(mod, persist=False)¶Load the specified kernel module
Name of the module to add
Write the module to sysrc kld_modules to make it load on system reboot
CLI Example:
salt '*' kmod.load bhyve
salt.modules.freebsdkmod.
lsmod
()¶Return a dict containing information about currently loaded modules
CLI Example:
salt '*' kmod.lsmod
salt.modules.freebsdkmod.
mod_list
(only_persist=False)¶Return a list of the loaded module names
CLI Example:
salt '*' kmod.mod_list
salt.modules.freebsdkmod.
remove
(mod, persist=False, comment=True)¶Remove the specified kernel module
Name of module to remove
Also remove module from /boot/loader.conf
If persist is set don't remove line from /boot/loader.conf but only comment it
CLI Example:
salt '*' kmod.remove vmm
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy