# -*- mode: python; encoding: utf-8 -*- info["owner"] = "root" info["group"] = "root" info["perms"] = 0600 comment_start = "#" header("Configuration pour omapi pour %s" % admhostname) include("secrets") print """ omapi-port 9991; key omapi_key { algorithm HMAC-MD5; secret "%s"; }; omapi-key omapi_key; """ % secrets.dhcp_omapi_keys.get(admhostname, '')