Module for viewing and modifying sysctl parameters
salt.modules.netbsd_sysctl.
assign
(name, value)¶Assign a single sysctl parameter for this minion
CLI Example:
salt '*' sysctl.assign net.inet.icmp.icmplim 50
salt.modules.netbsd_sysctl.
get
(name)¶Return a single sysctl parameter for this minion
CLI Example:
salt '*' sysctl.get hw.physmem
salt.modules.netbsd_sysctl.
persist
(name, value, config='/etc/sysctl.conf')¶Assign and persist a simple sysctl parameter for this minion
CLI Example:
salt '*' sysctl.persist net.inet.icmp.icmplim 50
salt.modules.netbsd_sysctl.
show
(config_file=False)¶Return a list of sysctl parameters for this minion
instead of the live data.
CLI Example:
salt '*' sysctl.show
Generated on October 02, 2023 at 04:08:45 UTC.
You are viewing docs for the previous stable release, 3005.3. Switch to docs for the latest stable release, 3006.3, or to a recent doc build from the master branch.
© 2023 VMware, Inc. | Privacy Policy