salt.modules.freebsdjail
The jail module for FreeBSD
-
Display contents of a fstab(5) file defined in specified jail's configuration. If no file is defined, return False.
CLI Example:
salt '*' jail.fstab <jail name>
salt.modules.freebsdjail.fstab(jail)
-
Return which jails are set to be run
CLI Example:
salt '*' jail.get_enabled
salt.modules.freebsdjail.get_enabled()
-
See if jail service is actually enabled on boot
CLI Example:
salt '*' jail.is_enabled <jail name>
salt.modules.freebsdjail.is_enabled()
-
Restart the specified jail or all, if none specified
CLI Example:
salt '*' jail.restart [<jail name>]
salt.modules.freebsdjail.restart(jail='')
-
Display specified jail's configuration
CLI Example:
salt '*' jail.show_config <jail name>
salt.modules.freebsdjail.show_config(jail)
-
Start the specified jail or all, if none specified
CLI Example:
salt '*' jail.start [<jail name>]
salt.modules.freebsdjail.start(jail='')
-
See if specified jail is currently running
CLI Example:
salt '*' jail.status <jail name>
salt.modules.freebsdjail.status(jail)
-
Stop the specified jail or all, if none specified
CLI Example:
salt '*' jail.stop [<jail name>]
salt.modules.freebsdjail.stop(jail='')
-
Dump all jail related kernel states (sysctl)
CLI Example:
salt '*' jail.sysctl
salt.modules.freebsdjail.sysctl()
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.freebsdjail.html