A jail.conf python library to help making administration software
Project description
jailconf_tools is a python package which includes a lot of tools to use with the new jail format on a freebsd host.
Howto
This is an example of howto use jailconf parser :
#!/usr/bin/env python import sys from jailconf_tools.parser import get_jails_config def main(): """Main function""" try: print(get_jails_config()) except: return 1 else: return 0 if __name__ == "__main__": sys.exit(main())
This peace of code returns a python dict which contains all jails definition.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jailconf_tools-1.0.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for jailconf_tools-1.0.1.macosx-10.10-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbb57288bfa77c1ad7797e1dc634d825a09020e50488741dc681763d20ee0422 |
|
MD5 | 0232c6c74189782a587823a442f4c211 |
|
BLAKE2b-256 | 292ad665cf7803fce3c079428f94b07afbcf399cc89651be6a1c98238fffd241 |